Error Occurred While Processing Request
Variable SINGLESUP is undefined.
I have a form with radio buttons for selecting yes or no answer to the question, "Do you want information on Single Supplement?"
I have in my code:
<input type="hidden" name="singlesup _required" value="A value must be entered for whether you want information on single supplement rooms">
I also have:
Would you like additional information regarding a single accommodation?
Y <input type="radio" name="singlesup " value="yessingl esup">
N <input type="radio" name="singlesup " value="Nosingle sup">
On my corresponding page I have this line of code:
<CFSET strBody = #strBody# & "Single Supplement: #singlesup##CR# ">
Instead of getting the message stating that you need to go back and answer the question, you get the above error message.
What am I doing wrong?
Variable SINGLESUP is undefined.
I have a form with radio buttons for selecting yes or no answer to the question, "Do you want information on Single Supplement?"
I have in my code:
<input type="hidden" name="singlesup _required" value="A value must be entered for whether you want information on single supplement rooms">
I also have:
Would you like additional information regarding a single accommodation?
Y <input type="radio" name="singlesup " value="yessingl esup">
N <input type="radio" name="singlesup " value="Nosingle sup">
On my corresponding page I have this line of code:
<CFSET strBody = #strBody# & "Single Supplement: #singlesup##CR# ">
Instead of getting the message stating that you need to go back and answer the question, you get the above error message.
What am I doing wrong?
Comment