-
EzmaAsked on January 4, 2018 at 5:43 AM
HI,
I created a form in which I used a checkbox in dropdown widget, then I downloaded the source code to customize it, but when I wanted to change the options that appear in the dropdown list I didn't find where to change them in the codeseparately?
-
Ardian_LReplied on January 4, 2018 at 8:02 AM
Unfortunately you can not the options from there. You need to change them in Widget Settings.
-
EzmaReplied on January 4, 2018 at 8:52 AM
hi,
Thank's for your answer, I want to know if it's valide for all JotForm components or only for widgets, I mean that if I use the basic components will I be able to customise the value of the component in the source code and to use data from a data base?
-
Richie JotForm SupportReplied on January 4, 2018 at 10:13 AM
Widgets as I know of has different java script codes with the form elements. You have to edit the whole javascript to edit the widgets.Yes, I think the Form elements/basic components can be customize to use data from a database.
You just need to target the correct html and add either java scripts or PHP to connect your database.
Here is a sample source code of a checkbox form element.
Hope this information helps.