Page 1 of 1
Signup: absence of confirmation code in email with Greek characters
Posted: Sat Apr 08, 2017 6:55 pm
by Aris
Hi.
Problem description: After signing up a user, sometimes he receives the email with the confirmation code. Sometimes he receives only an email with all the values of the Signup fields.
Problem specification: In my opinion, the cause has to do only with the English and the Greek characters. When the user writes his
Full name
in Signup with English characters, he receives the email with the confirmation code.
When he writes his
Full name
with Greek characters, he receives only an email with all the values of the Signup fields.
I tried this solutions:
Form > EditBox >Validate > Custom Regular Expression:
1. /^([^\x00-\x80]|[a-zA-Z\ \'])+$/
2. /^[a-zA-ZΑ-Ωα-ωίϊΐόάέύϋΰήώ\s]+$/
3. /^[\x{0386}-\x{03CE}]+$/u
My purpose was to incorporate and Greek characters, in order the user to receive email with confirmation code.
Till now, I did not find a solution.
Please, can you help me?
Thank you.
Aris
Re: Signup: absence of confirmation code in email with Greek characters
Posted: Sat Apr 08, 2017 8:39 pm
by Pablo
The built-in script only supports alpha numeric characters. This is behavior by design for better security.
If you need different behavior then you will need to modify the code yourself.
After you have converted the signup form to a standard form then you have full control over the code.
Re: Signup: absence of confirmation code in email with Greek characters
Posted: Sat Apr 08, 2017 8:55 pm
by Aris
After you have converted the signup form to a standard form then you have full control over the code.
By "standard form" you mean the code generated in the HTML object after converting the Sign up to Form?
Re: Signup: absence of confirmation code in email with Greek characters
Posted: Sun Apr 09, 2017 7:21 am
by Pablo
By "standard form" you mean the code generated in the HTML object after converting the Sign up to Form?
Yes
Re: Signup: absence of confirmation code in email with Greek characters
Posted: Sun Apr 09, 2017 9:13 am
by Aris
Could we say that the code generated in the HTML object after converting the Sign up to Form has "precedence" over the Settings of the Layout grid Form?
Probably, my question seems stupid, but I have huge ignorance about PHP.
If there is answer to this question and this is "YES", then would it be useful to change some piece of this code?
For example, here:
/^[A-Za-z0-9_!@$.' &]{1,50}$/
Thank you.
Re: Signup: absence of confirmation code in email with Greek characters
Posted: Sun Apr 09, 2017 9:28 am
by Pablo
Could we say that the code generated in the HTML object after converting the Sign up to Form has "precedence" over the Settings of the Layout grid Form?
You should not enable the built-in form processor, because the signup script handles the forms.
If there is answer to this question and this is "YES", then would it be useful to change some piece of this code?
Yes, you can change the code to implement different behavior.
However I cannot help you with rewriting the code to because for me that would also take a lo of time.
Also be aware that changing to code may affect the security of the form. By allowing non-ascii characters, the form can be more easily hacked.
Re: Signup: absence of confirmation code in email with Greek characters
Posted: Sun Apr 09, 2017 9:45 am
by Aris
You should not enable the built-in form processor, because the signup script handles the forms.
Please, can you explain this?
Thank you, Pablo.
Re: Signup: absence of confirmation code in email with Greek characters
Posted: Sun Apr 09, 2017 9:52 am
by Pablo
Do not enable 'Use built-in PHP form processor script'.
The form is processed by the code in the HTML object.
Note that 'convert to form' is for advanced users only. Knowledge of PHP is required.
Re: Signup: absence of confirmation code in email with Greek characters
Posted: Sun Apr 09, 2017 10:54 am
by Aris
Thank you, Pablo.
Your answers are very helpful!!