When values are submitted I want all entries to be as they were when submitted by the user. Don't know how to do this for radio buttons and checkboxes.
<input type="text" name="text" value="@Request.Form["text"]" placeholder="Enter text"/>
<input type="radio" name="gender" id="Male" value="Male" />
<input type="radio" name="gender" id="Female" value="Female" />
<input type="submit" value="Submit text"/>
Aucun commentaire:
Enregistrer un commentaire