Welcome Guest, Not a member yet? Register   Sign In
[SOLVED] Form validation in 3.1.7
#1

(This post was last modified: 01-26-2018, 02:56 AM by Wouter60.)

The validation rule valid_email in CI's 3.1.7 form validation, doesn't work anymore.

PHP Code:
$this->form_validation->set_rules('email','E-mailadres','trim|required|valid_email|callback_email_check'); 

In 3.1.6 there's no problem.
In 3.1.7 I get the error "The field E-mail must contain a valid email address".

I'm using this rule in my sign-up form.
In the callback function I check if the email address already exists in the user table, or if there's a former sign-up request for the same e-mail address.
Reply


Messages In This Thread
[SOLVED] Form validation in 3.1.7 - by Wouter60 - 01-25-2018, 11:40 AM
RE: Form validation in 3.1.7 - by pbarney - 01-25-2018, 01:41 PM
RE: Form validation in 3.1.7 - by Wouter60 - 01-26-2018, 02:55 AM



Theme © iAndrew 2016 - Forum software by © MyBB