Forum Replies Created

Viewing 3 replies - 1 through 3 (of 3 total)
  • If I could add this is in the script in the editor area of the plugin it would be in every were I use it instead of having to add it manually every time. Thank you for your help and enjoy what you can with family and friends this holiday

    Oh I agree thats what I am telling my people as well 🙂

    I may have missed a step but this is what i did

    <form method=”post” onsubmit=”return BFTValidate(this);”>
    <p><label>Name:</label> <input type=”text” name=”user_name” placeholder=”Enter name”></p>
    <p><label>Email:</label> <input type=”text” name=”email” placeholder=”Enter email”></p>
    <p align=”center”><input type=”submit” value=”Register”></p>
    <input type=”hidden” name=”bft” value=”register”>
    </form>

    <script type=”text/javascript” >
    function BFTValidate(frm) {
    var email = frm.email.value;
    if(email==”” || email.indexOf(“@”)<1 ||email.indexOf(“.”)<1) {
    alert(“Please fill in valid email address!”);
    frm.email.focus();
    return false;
    }

    return true;
    }
    </script>

    Thank You Prasunsen. However I did try that and it didn’t work this is a BFT aUtorepsonder script and no word back from the author yet.

Viewing 3 replies - 1 through 3 (of 3 total)