Search found 28 matches

by Cantenac
Mon Mar 23, 2020 2:02 pm
Forum: Form Questions
Topic: No server-side validation possible with HTML5 validation?
Replies: 3
Views: 947

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: $mail->Port = ; Fixing that to ...
by Cantenac
Mon Mar 23, 2020 1:24 pm
Forum: Form Questions
Topic: Error log issues
Replies: 2
Views: 625

Re: Error log issues

Sorry, I think that may have been it - I updated a couple of days ago and may still have had the old versions of the files. All looks good now :)
by Cantenac
Mon Mar 23, 2020 1:13 pm
Forum: Previewing and Publishing Questions
Topic: HTML5 picture element not visible in (some?) Android browsers?
Replies: 5
Views: 1048

Re: HTML5 picture element not visible in (some?) Android browsers?

Just run a test to check, with a singe image named test.jpg at all breakpoints, and doesn't display that either.
by Cantenac
Mon Mar 23, 2020 1:30 am
Forum: Form Questions
Topic: Error log issues
Replies: 2
Views: 625

Error log issues

Well my form is up and running, without obvious problem (default mailer, SMTP), however there are a couple of items in the error logs: Fatal error PHP Fatal error: require(): Failed opening required pathEditedOut /Exception.php' (include_path='.:/opt/alt/php73/usr/share/pear') in pathEditedOut / my_...
by Cantenac
Mon Mar 23, 2020 1:17 am
Forum: Previewing and Publishing Questions
Topic: HTML5 picture element not visible in (some?) Android browsers?
Replies: 5
Views: 1048

HTML5 picture element not visible in (some?) Android browsers?

I only have a sample of 1 Android phone (Android 6.0), but am finding that images configured using the HTML5 Picture element are not displayed. Samsung Internet v11.1.2.2 (the latest version), and MS Edge (also latest version) fail to display the image; the default browser displays a broken image sy...
by Cantenac
Mon Mar 23, 2020 1:07 am
Forum: Previewing and Publishing Questions
Topic: HTML5 Picture element fails when multiple images used
Replies: 2
Views: 1298

Re: HTML5 Picture element fails when multiple images used

For the benefit of others, yes, that was indeed the problem. Thanks.
by Cantenac
Sun Mar 22, 2020 7:53 pm
Forum: Form Questions
Topic: Validation not working on 'Country' combobox
Replies: 6
Views: 1025

Re: Validation not working on 'Country' combobox

Cool.

Maybe it would be worth changing the default to avoid the problem, or adding the note the manual?
by Cantenac
Sun Mar 22, 2020 7:40 pm
Forum: Form Questions
Topic: No server-side validation possible with HTML5 validation?
Replies: 3
Views: 947

No server-side validation possible with HTML5 validation?

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?
by Cantenac
Sun Mar 22, 2020 4:50 pm
Forum: Form Questions
Topic: DBTS Form Processor
Replies: 4
Views: 817

Re: DBTS Form Processor

Excellent news - I missed that - thanks :)
by Cantenac
Sun Mar 22, 2020 4:43 pm
Forum: Form Questions
Topic: Validation not working on 'Country' combobox
Replies: 6
Views: 1025

Re: Validation not working on 'Country' combobox

Thanks - I've now tested that and can confirm that it's necessary to edit the default 1st line of the country list: from 'Please select your country, Select, Yes' to ' , , No' ...for HTML5 validation to work. Though that does mean that the help text 'Please select your country' is obviously no longe...
by Cantenac
Sun Mar 22, 2020 1:42 am
Forum: Form Questions
Topic: Validation not working on 'Country' combobox
Replies: 6
Views: 1025

Re: Validation not working on 'Country' combobox

Thanks, I've just emailed you.
by Cantenac
Sun Mar 22, 2020 1:22 am
Forum: Form Questions
Topic: Captcha always sends me to error page
Replies: 2
Views: 618

Re: Captcha always sends me to error page

That would explain it (and I couldn't get the DBTS CAPTCHA to work either).
by Cantenac
Sun Mar 22, 2020 1:20 am
Forum: Form Questions
Topic: DBTS Form Processor
Replies: 4
Views: 817

Re: DBTS Form Processor

That's unfortunate, but I did think that may be the case. Unfortunately my host will only process forms sent by SMTP, for security reasons, which DBTS supports (but without a working CAPTCHA , which I also need). Any possibility of adding SMTP support to the built-in form script? Otherwise looks lik...
by Cantenac
Thu Mar 19, 2020 2:48 am
Forum: Form Questions
Topic: Validation not working on 'Country' combobox
Replies: 6
Views: 1025

Validation not working on 'Country' combobox

I have set HTML 5 validation on a Country combobox, with Selection Required and Disallow First Choice set. The form validates and is submitted even if no choice is made...