We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 19872
    • 1,078 Posts
    How Do You Maintain Field Contents After a Validation Error so that the user does not have to fill out the form all over again?

    Solved:
    <label>First Name 
            <input type="text" name="firstName" id="firstName" placeholder="First Name" value="[[!+fi.firstName]]"/>[[!+fi.error.firstName:notempty=`<span class="error">Please enter first name</span>`]]
          </label>


    I was missing the value= and quotes around the [[!+fi.firstName]] [ed. note: mmcgee last edited this post 12 years, 7 months ago.]