Hello,
I have two radio buttons within an application form and the data within it has to be persistent so that if the page is submitted and form displayed, as well as all the text inputs keeping their data, it has to too.
Basically for an example I have an input field, which keeps the data on 'reload':
<input type="text" name="company_fax" id="company_fax" class="inputText" size="10" maxlength="20" value="<?=$HTTP_POST_VARS[company_fax] ?>"/>
What's the best way to do this with radio buttons?
<div class="right">
<div class="fm-optional">
Yes <input type="radio" name="timed_delivery" id="timed_delivery" value="Yes" /> No <input type="radio" name="timed_delivery" id="timed_delivery" value="No" checked />
</div>
</div>
Any ideas on this would be greatly appreciated. Thanks!