I know there was a post in the past, but there was never a satisfactory resolution so I though I would start again and see if anyone has any new suggestions to get it working.
What I want is to have a drop down list for the "Where did you hear about us?" and ""Why did you buy from us?" on Checkout Page 2 but have a final option of 'Other' which then brings up a text box so that people can enter their own answer.
The code I have so far is:
If other is selected and completed all works fine.
If one of the other options is chosen then nothing is passed through to actinic.
Any suggestions greatfully recevied.
James
oh the code is in the chechout of our site at www.ocusan.co.uk
What I want is to have a drop down list for the "Where did you hear about us?" and ""Why did you buy from us?" on Checkout Page 2 but have a final option of 'Other' which then brings up a text box so that people can enter their own answer.
The code I have so far is:
Code:
<select name="GENERALHOWFOUND" onchange="javascript:div = document.getElementById('othershowhide'); if (this.options[this.selectedIndex].value == 'Other') div.style.visibility='visible'; else div.style.visibility = 'hidden'; " > <option></option> <option>Search Engine</option> <option>Exhibition</option> <option>Television</option> <option>Friend/Colleague </option> <option>Other Advertising</option> <option>Other Website</option> <option value=Other>Other - Please Specify</option> </select> <div id="othershowhide" style="visibility: hidden"> <input type="text" name="GENERALHOWFOUND" size="40" maxlength="255" value= "<actinic:variable name="GeneralHowFound" />" /> </div>
If one of the other options is chosen then nothing is passed through to actinic.
Any suggestions greatfully recevied.
James
oh the code is in the chechout of our site at www.ocusan.co.uk
Comment