formbuilder dependency dynamic selects

For questions and problems with the CMS core. This board is NOT for any 3rd party modules, addons, PHP scripts or anything NOT distributed with the CMS made simple package itself.
Post Reply
essexboyracer
Forum Members
Forum Members
Posts: 85
Joined: Wed Jun 20, 2007 5:40 pm

formbuilder dependency dynamic selects

Post by essexboyracer »

I am trying to integrate the following

http://www.dynamicdrive.com/dynamicinde ... ndency.htm

into a large 7-page formbuilder form. I have the javascript in the head and the script in the webroot. Where I have got unstuck is adding the label tags around form elements then adding the class to implement dependency amongst form fields. Using their example...

Code: Select all

<label>SSH<input type="checkbox" name="ssh" class="DEPENDS ON os BEING linux"></label>
I think i am also having trouble grabbing and passing the form name to the script, all i can get is the form id from the form tag, i did read somewhere on this forum that i can assign that to a smarty variable and pull it into the javascript in the head dynamically. Any Ideas?
Post Reply

Return to “CMSMS Core”