Here's the code:
Format: <select name=format><option value=0>Text</option><option value=1>HTML</option></select> How can we set the default to value=1 and not give the person an option?
Do we add the value to the action command i.e.:
<form action="http://www.mydomain.com/maxemail/join.php">
?
Thank you very much for your help :)
(edited by: sugarkane at 10:15 pm (gmt) on Aug. 28, 2001
To select an option field as default you'd use
<option value=1 selected>HTML</option>
If you wanted to avoid giving the option altogether, remove the whole <select></select> and use a hidden field:
<input type="hidden" name="format" value="HTML">
You don't need to modify the <form> tag.