Not signed in (Sign In)

SkillShare - A place to discuss Web Standards and Web Design topics

Categories

Vanilla 1.1.9 is a product of Lussumo. More Information: Documentation, Community Support.

    • CommentAuthoralmadera
    • CommentTimeMar 17th 2008
     permalink
    I'm using Godaddy's gdform.php form mailer for my forms. The forms work perfectly except the validation. I need the visitors to fill in the fields and then submit the information to my email, but the problem is that everyone can submitt even if he doesn't fill in the form. I want all of the fileds to be required. Is there something wrong with the code ? Here it is :




    <form action="/gdform.php" method="post"><input type="hidden" name="phpMyAdmin" value="4594f30712f4fabaff6997416810f3f2" />
    <table align="center">
    <input type="hidden" name="subject" value="Form Submission">
    <input type="hidden" name="redirect" value="/Add/thankmes.html">
    <input type="hidden" name="required" value="YourName, Email, description">
    <tr>
    <td><p><font color=WHITE font size=4>Your Name:</p> </font></td> <td align=center height=50><p><input type="text" name="YourName" size="52"/></p></td>
    </tr>
    <tr>
    <td><p><font color=WHITE font size=4>Your E-mail:</p> </font></td> <td height=50><p><input type="text" name="Email" size="52"/></p></td>
    </tr>

    <tr>
    <td><p><font color=WHITE font size=4>Your Message:</p> </font></td> <td><br><p><textarea name="description" cols="40" rows="5">
    </textarea></p></td>
    </tr>
    <tr>
    <td><input type="submit" name="submit" value="Send"/></td>
    </tr>
    </table>
    </form>
  1.  permalink
    There is no validation running (i.e. javascript) - as far as I know GoDaddy doesnt have form support for valiadtion (I could be wrong) from the code you posted.
    Here is a helpful source
    http://www.w3schools.com/js/js_form_validation.asp
Add your comments
    Username Password
  • Format comments as (Help)