Guest_imported
New member
- Jan 1, 1970
- 0
Hello,
I have been trying to make a form that somewhat similar to those long survey forms that you fill out page by page.......
Anyways.....I currently have 2 forms on 2 pages.....i have set it so that when the visitor finishes the first form and clicks submit, the action of the form would lead them to the 2nd form.....
however, here's my problem.....
I tried to have the values of the variables from the first form saved in hidden values in the second form.......but for some reason, the value of the checkboxes from the first form always come out weird in the second form's hidden values......
It seems that no matter if i checked a checkbox or i didnt, the value of the checkbox will always be "-yes" in the second form's hidden value.....how do i make it so that the value of the checkbox in the 2nd form's hidden value would be blank if the box is not checked??
I'm sorry if i sound confusing.....I have uploaded the 2 forms online if you want to take a look at them and see what the problem is.......
you can download them here http://gimmeawebsite.com/ctstaffing/problem.zip
please see if there's any errors with the php in the 2nd form.......(the php is embedded in the hidden values in the 2nd form)
ANY help would be GREATLY appreciated......THHANK YOU
I have been trying to make a form that somewhat similar to those long survey forms that you fill out page by page.......
Anyways.....I currently have 2 forms on 2 pages.....i have set it so that when the visitor finishes the first form and clicks submit, the action of the form would lead them to the 2nd form.....
however, here's my problem.....
I tried to have the values of the variables from the first form saved in hidden values in the second form.......but for some reason, the value of the checkboxes from the first form always come out weird in the second form's hidden values......
It seems that no matter if i checked a checkbox or i didnt, the value of the checkbox will always be "-yes" in the second form's hidden value.....how do i make it so that the value of the checkbox in the 2nd form's hidden value would be blank if the box is not checked??
I'm sorry if i sound confusing.....I have uploaded the 2 forms online if you want to take a look at them and see what the problem is.......
you can download them here http://gimmeawebsite.com/ctstaffing/problem.zip
please see if there's any errors with the php in the 2nd form.......(the php is embedded in the hidden values in the 2nd form)
ANY help would be GREATLY appreciated......THHANK YOU