So the manual does say that server-side validation 'uses the same settings as the JavaScript (client side) validation'.
Would that explain why I get a 500 Internal Server Error if I enable server-side validation while using HTML5 validation?
No server-side validation possible with HTML5 validation?
Forum rules
PLEASE READ THE FORUM RULES BEFORE YOU POST:
http://www.quickandeasywebbuilder.com/f ... =12&t=1901
MUST READ:
http://www.quickandeasywebbuilder.com/forms.html
http://www.quickandeasywebbuilder.com/form_wizard.html
Frequently Asked Questions about Forms
PLEASE READ THE FORUM RULES BEFORE YOU POST:
http://www.quickandeasywebbuilder.com/f ... =12&t=1901
MUST READ:
http://www.quickandeasywebbuilder.com/forms.html
http://www.quickandeasywebbuilder.com/form_wizard.html
Frequently Asked Questions about Forms
Re: No server-side validation possible with HTML5 validation?
This most likely means that there is an conflict in your settings.
To be able to help you, I need to know all your settings.
To be able to help you, I need to know all your settings.
Re: No server-side validation possible with HTML5 validation?
OK, I've found the problem in the error log. I was testing the form layout before adding all the SMTP settings.
If the SMTP port setting is blank, this throws an error on line 31 of the php form page:
PHP Parse error: syntax error, unexpected ';'[/code]
Line 31 reads:
Fixing that to read as follows resolves the problem:
If the SMTP port setting is blank, this throws an error on line 31 of the php form page:
PHP Parse error: syntax error, unexpected ';'[/code]
Line 31 reads:
Code: Select all
$mail->Port = ;
Code: Select all
$mail->Port = ' ';
Re: No server-side validation possible with HTML5 validation?
The SMTP port may not be empty.
The default value is 25
Please do not change any of the default settings unless you know what you are doing.
The default value is 25
Please do not change any of the default settings unless you know what you are doing.