• Resolved alitscha

    (@alitscha)


    Hi, the form is giving me an error alert if I enter existing and correct mail address on .works domain. Can I enable them and how do I see which domains are already supported?
    Thx, Alice

Viewing 6 replies - 1 through 6 (of 6 total)
  • Plugin Author xnau webdesign

    (@xnau)

    That’s good to know, I haven’t checked for those TLD’s that have over 4 characters. I’ll bet it breaks a lot of validation.

    If you want to validate email addresses with long TLDs, you can use a regex like this instead of the built-in email validation:

    #^[a-zA-Z0-9._%+-]+@[a-zA-Z0-9.-]+\.[a-zA-Z]{2,}$#

    Just select “regex” as the validation and paste in the regex above.

    I’m planning to add this change to the plugin in the next update.

    • This reply was modified 8 years, 4 months ago by xnau webdesign. Reason: had to add both cases to the regex
    Thread Starter alitscha

    (@alitscha)

    Hello and thanks for your quick and helpful feedback! I’d need a few advices before I tocuh the files: How do I select regex as validation? And I guess I should paste the regex you suggested in xnau_FOrmvalidation.class.php, is that right?
    I’d like to first check your documentation but xnau.com doesn’t seem to be up right now, I’ll try again later.
    Thanks again!
    Alice

    Thread Starter alitscha

    (@alitscha)

    Sorry, I have understood what you meant is the Fields option, all good and thanks! I am trying now and will let you know if it works!

    Thread Starter alitscha

    (@alitscha)

    It works! This topic is solved. Best!

    Plugin Author xnau webdesign

    (@xnau)

    glad you go ti working…sorry I didn’t make my meaning more clear.

    Thread Starter alitscha

    (@alitscha)

    No problem, it was also me being a bit slow/lazy, it’s the first time I’m using your plugin and I wasn’t that confident with the interface yet ?? It’s a good plugin, and I’m working often with Bootstrap so the Bootstrap template option makes it even better to me, I will recommend it!

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘mail addresses with new domains’ is closed to new replies.