REG-EX on the contact form fields

michal84
148 Posts
michal84 posted this 13 May 2025
Ask a Question

Hi Nicepage team,
I recently recognized a "Kazimir" (kind a "waste-all" person) in my nearby, and he is posting from my and my client's website using my own personal email address. That's why, I would like to ask, what happened with the Regular Expression option, which is no longer visible neither in Desktop application, nor in the edit of the contact form in the web editor.
In my case, I would like to use for the email input field a regex, so the resulting rendered HTML would look like this:

<input type="email" pattern="^(?!john\.doe@yahoo\.com$)(?!.*@([a-zA-Z0-9.-]+\.)?mydomain\.online$)[a-zA-Z0-9._%+-]+@[a-zA-Z0-9.-]+\.[a-zA-Z]{2,}$" title="Email address not allowed.">

Any chance to make it available again? As some time ago, it was possible to use the regex in the form.

Thanks in advance,
Michal

Vote to pay developers attention to this features or issue.
2 Replies
Order By: Standard | Newest
Support Team
Support Team posted this 15 May 2025

Hi Michal,

The Custom Format option with regexp is available for the Phone field only. Unfortunately, there was no such option for the Email field. But we added your request to our wish list.

...................................................
Sincerely,
Olivia
Nicepage Support Team

Please subscribe to our YouTube channel: http://youtube.com/nicepage?sub_confirmation=1
Follow us on Facebook: http://facebook.com/nicepageapp

michal84
148 Posts
michal84 posted this 15 May 2025

Hello Olivia,
great. Thanks for that.

You must log in or register to leave comments