Hello everyone and sorry my english
when a option is selected, a alert text will shown in the screen, i can do that using the radiobuttons, but now i want learn how to use that funcion in the image checkbox widget.
Script to use with radiobuttons is below<input type="radio" id="grupo1" name="grupo1" value="Esquerda" onclick= "alert(''TESTE DE TEXTO')"" checked>Alinhamento à esquerda<br>
Thanks for read!
thanks for help!
I'm afraid it is not possible to add any custom JavScript scripts into our widgets, such as the Image Checkbox widget, as they are being loaded in separate iFrames inside the main form.
If you need to add custom scripts, they can only be added for regular form fields (not for widgets), and only when using the source code of your form (which you are already using).
For the reason listed above, you may want to use a regular Check Box field instead of the Image Checkbox widget, in case you want to apply custom scripts to the options. Please let us know if you need any further clarifications or assistance, we'll be happy to help.