I am creating a form using PHP and I am stuck at this one:-
Code: Select all
What would you like to do with the document?
Radio Option 1
==========
<input type="radio" name="q2" tabindex="2" id="02" value="Destroy" />Destroyed
<br />
Radio Option 2
==========
<input type="radio" name="q2" tabindex="2" id="02" value="Retain" />Retained
<br />
Radio Option 3
==========
<input type="radio" name="q2" tabindex="2" id="02" value="Retained for" />Retained for
<input type="text" name="q2a" size="10" tabindex="3" id="03" />yearsSo if the user selects Radio Option 3 I can get the php to pass the form variable only like "Retain for 'whatever the number the user specified' " e.g Retain for 10 ..... but I want the variable to add the years at the back to complete the sentence in the confirmation page.
Any help is highly appreciated.... need to complete this form by the end of the day. Thanks a lot in advance