Welcome Guest, Not a member yet? Register   Sign In
Validation tutorial
#3

(04-23-2020, 02:51 AM)Leo Wrote: "I set up the rules WITHOUT any "required" rule, so it should pass if only one field is filled up.
In the debugbar the $_POST array ist correctly filled out, but the form everytime is still reloaded instead of showing my success-screen.

Where is my issue ?!?"

Try adding permit_empty to all rules. For ex: 'site_admin_name' => 'permit_empty|min_length[3]|max_lenght[250]',

Your guess has no effect  Sad
Reply


Messages In This Thread
Validation tutorial - by Codinglander - 04-22-2020, 10:48 PM
RE: Validation tutorial - by Leo - 04-23-2020, 02:51 AM
RE: Validation tutorial - by Codinglander - 04-23-2020, 03:17 AM
RE: Validation tutorial - by jreklund - 04-23-2020, 11:31 AM
RE: Validation tutorial - by Codinglander - 04-23-2020, 07:49 PM
RE: Validation tutorial - by jreklund - 04-24-2020, 09:40 AM
RE: Validation tutorial - by Codinglander - 04-24-2020, 11:12 AM
RE: Validation tutorial - by jreklund - 04-24-2020, 11:21 AM
RE: Validation tutorial - by hugoafr - 07-01-2020, 01:57 PM



Theme © iAndrew 2016 - Forum software by © MyBB