Spectrum is now read-only. Learn more about the decision in our official announcement.


JSON Forms is a JSON Schema based approach for creating forms and comes with support for React, Angular and Vue. Support here is free, but might involve some delay in the replies based on our current workload for paying customers. We also offer PROFESSIONAL SUPPORT packages to get you started quickly with JSON Forms and to help you with any questions and technical difficulties for JSON Forms with guaranteed response time and in-depth technical solutions. For details please see our web page linked below.


Capturing onclick event on existing controls?

February 26, 2020 at 2:00am

Capturing onclick event on existing controls?

February 26, 2020 at 2:00am
Hi. Thank you so much for the product and the support. I'm looking to create code that increments integer control values upon the user clicking (or touching) the control. Is there an onclick event that can be captured for all controls, or would I need to create a custom control to do that? thanks again.

February 28, 2020 at 4:05pm
Hi , thanks for your interest in JSON Forms! You can listen to state changes in redux, or to data and validation changes in the standalone version. So if you render an integer control you'll be notified when the user changes the integer, for example via clicks on the up/down-arrows of the input.
If you need more fine-grained control you'll need to implement a custom renderer where you can do whatever you want including listening to click / touch or any other event.
I hope this was helpful to you :) Check this tutorial to see how to implement an own integer renderer: