I've tried to change the standard "how did you find us" text box to a dropdown menu based on info I've found on here. It doesn't work in as much that it doesn't transfer the info other than the optional text box. It's appearance is ok on the web
If anyone can point me the right way I'd be grateful.
<tr>
<td>
<actinic:block if="%3cactinic%3avariable%20name%3d%22GeneralPrompt000Required%22%20%2f%3e"><span class="actrequired"></actinic:block>
<Actinic:Variable Name="GeneralPrompt000"/>
<actinic:block if="%3cactinic%3avariable%20name%3d%22GeneralPrompt000Required%22%20%2f%3e"><span class="actrequired"></actinic:block>
</td>
<td>
<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 value="Returning customer">Returning customer</option>
<option value="Google">Google</option>
<option value="Yahoo">Yahoo</option>
<option value="other search engine">Other Search Engine</option>
<option value="Friend/Colleague">Friend/Colleague </option>
<option value="link from another poultry website">Link from another poultry website</option>
<option value="Practical Poultry mag">Practical Poultry Magazine</option>
<option value="Smallholder Mag">Smallholder Magazine</option>
<option value="Country Smallholder">Country Smallholder</option>
<option value="Fancy Fowl Mag">Fancy Fowl Magazine</option>
<OPTION value="GYO Mag">Grow Your Own Magazine</option>
<option value="Kitchen Garden Mag">Kitchen Garden Magazine</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>
</td>
</tr>
If anyone can point me the right way I'd be grateful.
<tr>
<td>
<actinic:block if="%3cactinic%3avariable%20name%3d%22GeneralPrompt000Required%22%20%2f%3e"><span class="actrequired"></actinic:block>
<Actinic:Variable Name="GeneralPrompt000"/>
<actinic:block if="%3cactinic%3avariable%20name%3d%22GeneralPrompt000Required%22%20%2f%3e"><span class="actrequired"></actinic:block>
</td>
<td>
<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 value="Returning customer">Returning customer</option>
<option value="Google">Google</option>
<option value="Yahoo">Yahoo</option>
<option value="other search engine">Other Search Engine</option>
<option value="Friend/Colleague">Friend/Colleague </option>
<option value="link from another poultry website">Link from another poultry website</option>
<option value="Practical Poultry mag">Practical Poultry Magazine</option>
<option value="Smallholder Mag">Smallholder Magazine</option>
<option value="Country Smallholder">Country Smallholder</option>
<option value="Fancy Fowl Mag">Fancy Fowl Magazine</option>
<OPTION value="GYO Mag">Grow Your Own Magazine</option>
<option value="Kitchen Garden Mag">Kitchen Garden Magazine</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>
</td>
</tr>
Comment