HTML snippet help (1 post)

  1. roger_klear
    Posted 2 years ago #


    I have installed this Plugin "Insert HTML Snippet" by XYZScripts and activated it. I want to use this plugin to make a custom HTML Contact form therefore I put the HTML code inside the box (the one which I made) and than saved it. But I am facing a serious problem on the Front-end, I want to send the Message using the Send button, but the Contact form is not working.

    This is the code which I have made and put inside the HTML box:

    <table width="100%" border="0" cellspacing="0" cellpadding="0" id="contact">
        <td width="565">
    		<h3>Contact Form</h3>
    <div class="text16">Please fill all the fields</div>
    <li><input type="text" name="name" id="name" value="Your Name" onblur="if(this.value=='') this.value='Your Name';" onfocus="if(this.value=='Your Name') this.value='';" /></li>
    <li><input type="text" name="name" id="name" value="Your Email" onblur="if(this.value=='') this.value='Your Email';" onfocus="if(this.value=='Your Email') this.value='';" /></li>
    <li><input type="text" name="name" id="name" value="Your Telephone" onblur="if(this.value=='') this.value='Your Telephone';" onfocus="if(this.value=='Your Telephone') this.value='';" /></li>
    <textarea name="" cols="" rows="" onblur="if(this.value=='') this.value='Message';" onfocus="if(this.value=='Message') this.value='';"
    <li><input name="Senden" type="button"  value="Senden" class="senden"/></li>
    <script type='text/javascript'>
    // <![CDATA[
        var frmvalidator  = new Validator("contactus");
        frmvalidator.addValidation("name","req","Please provide your name");
        frmvalidator.addValidation("email","req","Please provide your email address");
        frmvalidator.addValidation("email","email","Please provide a valid email address");
        frmvalidator.addValidation("message","maxlen=2048","The message is too long!(more than 2KB!)");
    // ]]>

    [Please use the code buttons - as is your code may have been damaged]

    Can you please let me know, why the Contact form is not working?

    Hope to hear from you soon.

    Kind Regards,

Topic Closed

This topic has been closed to new replies.

About this Topic