This forum is no longer open and is for reading/searching only.

Please use our new MachForm Community Forum instead.

MachForm Community Forums » MachForm 4

How do you verify an email address on a form?


  1. RickQuatrone
    Member

    Version 4.3 -
    How do you verify an email address on a form?
    Ie:
    Email Address: _________________
    Verify Email Address: _________________

    It there a "logic" method to do this, ~other than~ "Check field values are the same by editing includes/post-functions.php"
    I don'tr want to keep customizing because when I update the Mach Form App, I don't want to have to remember all my custom changes.

    Thank You

    Posted 9 years ago #
  2. williamansley
    Member

    @RickQuatrone: The short answer is there is no method to compare two email fields for verification purposes beyond writing some custom code. Rather than modifying the baseline Machform PHP code, however, with Machform 4.2 and newer, you can write your own custom javascript code to do what you want, which is saved as an external file, which you tell the form to load, so it will not be overwritten by Machform updates. Unfortunately, I can't help you with this.

    This feature is so commonly requested that I am surprised Appnitro hasn't added the capability to do this to the graphical user interface yet. Maybe someday!

    Posted 9 years ago #
  3. RickQuatrone
    Member

    Thanks William. Yes I saw the ability to write it in JS and have it loaded. I was hoping that it was in the Application by now, that would be better. but I'll just write something.

    Thanks Again

    Posted 9 years ago #
  4. RickQuatrone
    Member

    Ok - So I have written something (something I have used before), but it requires an

    onsubmit="return varifyEmail(this);

    type of addition to the form tag. At least the way I write it. How do I accomplish this adding something to the form tag, or am I all wrong in my method?

    Thanks

    Posted 9 years ago #

RSS feed for this topic

Reply