We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 19490
    • 24 Posts
    Hello,

    I am using eform to submit a simple contact form.. i based the form off the examples and when i enter the "name" data and hiy submit, it tells me i should have 2 words. so i enter 2 words and get the same thing... so then i try to just remove the eform="*" and the email just shows that area blank...... why? This also happens with the comments. i use the exact code from the examples and get blank info in the email............ huh the email field works fine!
      • 2320
      • 47 Posts
      Well actually same thing for me. And i use same code on another website it works fine. It’s the same server so mail() function is working. Weird.
        • 30223
        • 1,010 Posts
        The #REGEX rule in the eform attribute in the example is wrong. Adjust that or make your own rule and everything should be fine. You’ll find info about the possible validation rules in assets/snippets/eform/eform.htm

        Info about regular expressions can be found in the PHP documentation: http://au.php.net/manual/en/pcre.pattern.php