formio.js
formio.js copied to clipboard
Send value from Buton to Text Field
hello could help me how can I send a value to a Text Field from a Button with the action Custom I'm doing it this way but it does not work
data.name = 'Value I need to send';
How could I do it?
Thank you
you should do it in this way:
form.getComponent("name").setValue("value i need to send");
Thank you very much for the help I worked.