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.]