I have one text fields(A) and two Select/Option within a self posting form.
When form comes back the text field is=null, and selects=null, I have lost values.
Question - how do I preserve or repopulate the text fields and select?
<FORM METHOD="POST" NAME="form1" ACTION="">
<input type="text" name="A" >
<p>
<select name="B" >
<option value ="">Select B</option>
<option value ="10">10</option>
</select>
<p>
<select name="search" onchange=form1. submit() >
<option value ="">Select Miles</option>
<option value ="10">10</option>
</SELECT>
</FORM>
When form comes back the text field is=null, and selects=null, I have lost values.
Question - how do I preserve or repopulate the text fields and select?
<FORM METHOD="POST" NAME="form1" ACTION="">
<input type="text" name="A" >
<p>
<select name="B" >
<option value ="">Select B</option>
<option value ="10">10</option>
</select>
<p>
<select name="search" onchange=form1. submit() >
<option value ="">Select Miles</option>
<option value ="10">10</option>
</SELECT>
</FORM>
Comment