View Full Version : Of Form Manager and the Positioning of Forms on the Page

12-22-2008, 12:40 AM
First off, amazing script. This is going to really help me put together some nice forms.

I have posted my modification of the form on a webpage here:


Currently when you select from the different drop downs the form builds itself down the page more and more. So if you select 'Replacement' from the first drop down it appears halfway down the page. etc etc.

Theoretically I want all of the forms to appear right under the selection just chosen. Much like when you select 'Exchange' everything looks fine. How can I make sure all the 'hidden' forms aren't going down the page, but instead appearing just under the selection they depend on?

Thanks again.

12-22-2008, 06:36 AM
By removing all the presentational <br> tags you've got scattered around. Presentational HTML is (generally) no longer necessary in this day and age. Style the <label>s in your stylesheet appropriately, and their gaps will vanish when they do.

Additionally, you should validate (http://validator.w3.org/) your page (as HTML 4.01 Strict) if you want to expect things to work.

06-30-2009, 12:04 AM

I have seen many posts asking about validation but have been unable to find a reply. The obvious detail is when a field is hidden, how do you make it not required. It "seems" so simple to the client ::)

Any ideas. And great script.

03-21-2010, 04:31 PM
this is really great script. It would be even greater if there is any js validation. I could make the input validation by server script and try to re-write the dependency string parser into PHP. Has anyone tried that?
I have tried to modify the script to allow new instruction "HIGHLIGHT WHEN..." or even "MANDATORY WHEN" but I am not good in javascript and could not make it working as I will need to make some fields mandatory at some stage.
Any help would be appreciated. I would share PHP verification script if I get over this issue.