[UPHPU] Unhidden DIV content not POSTing

Jonathan Duncan jonathan at bluesunhosting.com
Tue Nov 7 13:48:41 MST 2006


I have this contact form that uses javascript to manipulate the dom to 
show certain elements depending on what the users answers are.

http://bliscompany.com/contact.php

I am having a problem with some of the fields which are initially set to 
"display:none;" not returning the values that users enter.  The value that 
is POSTed is the default value instead of what the user types in.  Does 
that make sense to you?

For example, on that form, if you answer that you are a patient and fill 
in your address, and then answer yes that you are working with a doctor 
and then fill in that doctor's name, when I POST the form the address 
value is "Example: 123 This Street Smallville, NY  91234" and the doctors 
name value is "".

It is as if the new information is not being seen in that POST.  However, 
the radio input works for those DIV's.  Well, the values returned for the 
radio inputs are the defaults, for which ever one is clicked.  Hmm....

Any ideas?

Thanks,
Jonathan

PS - I refuse to claim responsibility for the fact that the page does not 
validate.


More information about the UPHPU mailing list