•  

  • function sbmgValidateFormPostPg1(name,email) {
    var name_fld = document.getElementById('sbmgValidateFormPostPg1' + '_' + name);
    var email_fld = document.getElementById('sbmgValidateFormPostPg1' + '_' + email);
    var reg = /^([A-Za-z0-9_\-\.])+\@([A-Za-z0-9_\-\.])+\.([A-Za-z]{2,4})$/;
    var msg = '';
    if ( name_fld.value == '' ) msg = '- Name Required\n';
    if ( reg.test(email_fld.value) == false ) msg += '- Valid Email Required';
    if ( msg == '' ) return true;
    else alert(msg);
    return false;
    }


    Hello Pamela, and welcome to Authopublisher.com. It’s nice to have you with us. You are a self published author, tell us what your book is called and what is it about? I am actually a hybrid author. By hybrid, I don’t mean that I’m half Martian or have three eyes, but that I have a [...]
Log in to comment or register here.
© 2009 Top Blogged. Some Rights Reserved. User-posted content is licensed under a Creative Commons Public Domain License.
Contact Us  |