Email form shows email error twice

The {{form}} of the demo of the newest pulse 4.5.2 displays a email error twice when no field is filled. Could not find the reason for this. Look! 5 errors for 4 fields:

Can you reproduce this on your system?

With regards
Carsten

I can confirm this error, I have the same issue.
But after I commented out one or two lines in config.php, the error disappeared:

From:

// FORM

$mail_inputs = array(‘Name’=>‘text’,‘Email’=>‘email’,‘Phone’=>‘text’); // Input fields
$lang_form_name = ‘Name’; // Must match “Name” input above
$lang_form_email = ‘Email’; // Must match “Email” input above
$mail_textarea = array(‘Comment’=>‘7’); // 7 = Number of rows in comment textarea
$email_contact = array(‘you@mail.com’); // Example: ‘one@mail.com’,‘two@mail.com’

To:

// FORM

$mail_inputs = array(‘Name’=>‘text’,‘Email’=>‘email’,‘Phone’=>‘text’); // Input fields
/* $lang_form_name = ‘Name’; // Must match “Name” input above /
/
$lang_form_email = ‘Email’; // Must match “Email” input above */
$mail_textarea = array(‘Comment’=>‘7’); // 7 = Number of rows in comment textarea
$email_contact = array(‘you@mail.com’); // Example: ‘one@mail.com’,‘two@mail.com’

I don’t know anyway, what these two lines do actually. Could anybody explain, please? Thanks.

Thanks @Torsten + @cadesign - will look at fixing this validation bug - cheers

2 Likes

This was fixed in 4.6!

2 Likes