WordPress.org

Support

Support » Plugins and Hacks » [Resolved] User fields clear if an incomplete form is submitted

[Resolved] User fields clear if an incomplete form is submitted

Viewing 1 replies (of 1 total)
  • You must write the value of the $_POST. Example:

    <input type="text" name="txtMyInput" value="<?php echo $_POST['txtMyInput']; ?>" />

    If $_POST is empty, nothing will apear in the input, but if you had an error in your form you will recover the data.

    Hope this helps!
    Mauricio

Viewing 1 replies (of 1 total)
  • The topic ‘[Resolved] User fields clear if an incomplete form is submitted’ is closed to new replies.