Greetings!
PHP noob here. You've been warned...😃
I'm coding a page form and to prevent its fields to be reset, I have to echo the POST values back into their respective form fields.
It is working well for text inputs but I am having problem with four radio button inputs. Echo-ing the POST values back does not work: the respective form fields are always reset, blanked out...no matter what!!
This is what I wrote...
...
<td><fieldset> <legend>Frequency: </legend>
<input type="radio" id="rad0" tabindex="8" name="Frequency" value='<?php echo $_POST['Frequency'];?>'>One Time<br>
<input type="radio" id="rad1" tabindex="9" name="Frequency" value='<?php echo $_POST['Frequency'];?>'>Daily<br>
<input type="radio" id="rad2" tabindex="10" name="Frequency" value='<?php echo $_POST['Frequency'];?>'>Weekly<br>
<input type="radio" id="rad3" tabindex="11" name="Frequency" value='<?php echo $_POST['Frequency'];?>'>Monthly<br>
<input type="radio" id="rad4" tabindex="12" name="Frequency" value='<?php echo $_POST['Frequency'];?>'>Ongoing<br>
</fieldset></td>
...
What I am doing wrong?? Can someone please tell me?!