Hidden Form Fields - Values not beinmg set

Joined
Jun 13, 2005
Messages
148
Reaction score
0
So I recently finished building an order form that shows and hides fields based on slected values.

I do this using blank div's and content div's, and switch their contents as i need. This all works great in FF, but not in IE.

Sinc ethe form i still functional without the changes that doesnt bother me.

The problem is the hidden fields values. If i show them, and change them, the email i get still has the default values, even though the user has selected different values.


So the cause seems to be the original values shown are the ones being sent to the mailer. I asssume this is because the content is moved..

Some things;
all divs are in the form ellement.
all select values are being passed, just the defaults.
any non-hidden fields work.


any thoughts or questions, etc to help me move this along would be awesome.


Thanks guys.(and gals)
 
Joined
Jun 13, 2005
Messages
148
Reaction score
0
just an update.

http://stonybrookpottery.com/contactus

I have fixed the issues with missing values by using an alternate hide approach.

I now have the fields in palce, wrapped by span tags. I can than alter the display style of those spans between 'none' and '' (or 'inline). with a little javascript

still does not show for IE.

anyone have a better way that works for IE and FF?
 
Last edited:

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top