Joget DX 8 Stable Released
The stable release for Joget DX 8 is now available, with a focus on UX and Governance.
Hello,
i want to design a Form, where you can configure a virtual Server and it's modules.
Therefore my Question:
I got f.e. a Radio Button for the Module FTP: If you want FTP Access to the Server you klick on Yes.
onchange i want to "pop" up a window or Field where you can select the number of ftp users you need.
how can id handle that?
5 Comments
Tiensoon
Hi Jonathan,
You can insert a Custom HTML element into the form, which allows you to write HTML, JavaScript (includes jQuery) and CSS. So, in the Custom HTML, you can probably write a DIV that contains a textfield to capture input for number of FTP users, and this DIV is display:none by default.
Then, using jQuery, you can bind an event to the radio button, which calls a JavaScript function to show the DIV mentioned above.
Jonathan Hauffe
Thanks for your Answer.
ario sadewo
can u show me an example, pls...
ario sadewo
can u show me an example, pls...
Tiensoon
In the following example, we bind the onClick event to a checkbox option identified by "_ex_checkbox_checkbox_4_1" as its ID.
And this screenshot shows how we easily trace the source to find out ID of a form element, using Firefox's Firebug extension.