formio.js icon indicating copy to clipboard operation
formio.js copied to clipboard

Triggers on Survey Data || Radio || checkboxes

Open noman115pk opened this issue 8 years ago • 1 comments

Hello Support Team, I appreciate the effort behind this product. This product is awesome and a great contribution to open source community.

Can you please provide me guidance if i can configure any triggers/callbacks on Radio Buttons, Checkboxes or Surveys? e.g I created a student medical form and added a question like Are you allergic to Epipen? If student submits yes to an answer in form submission. I want to trigger an alert / function from server side on the basis of user answers.

Thanks, Nauman Rafique

noman115pk avatar Nov 26 '18 14:11 noman115pk

Yes this can be done. Basically, you can do it like this demonstration shows.

http://formio.github.io/formio.js/app/examples/externalload.html

What you want to do is similar to what this shows.

travist avatar Nov 26 '18 15:11 travist