Welcome Guest, Not a member yet? Register   Sign In
I want to return the value entered by the user at the time of validation error
#6

(This post was last modified: 04-09-2022, 10:32 PM by ignitedcms.)

I believe you were looking for 'set_fields' which is IIRC what it was historically named. Additionally in the old documentation there was a section under libraries > validation which discusses repopulating the form which appears to have been omitted, although as Kenjis has kindly pointed out is in the form helper section.

Off topic, I do prefer validating forms with ajax calling server side validation as it skips a step of having to manually repopulate input fields, though this is predicated on js being enabled in browser.
Practical guide to IgnitedCMS - Book coming soon, www.ignitedcms.com
Reply


Messages In This Thread
RE: I want to return the value entered by the user at the time of validation error - by ignitedcms - 04-09-2022, 08:31 PM



Theme © iAndrew 2016 - Forum software by © MyBB