VDaemon PHP Library | VDaemon Extension | Table of Contents
During this step you create the web form to be validated. We assume that you already know how to create html forms, so the form source code is provided below without additional explanation.
After adding form your page source code should look like:
<html> <head> <title>VDaemon Validation Sample</title> <style type="text/css"> <!-- .default { font-family: Arial, Helvetica, sans-serif; font-size: 12px; font-weight: bold } .defaultErr { font-family: Arial, Helvetica, sans-serif; font-size: 12px; font-weight: bold; color: #FF0000 } --> </style> </head> <body> <p class="default">Quick contact form.</p> <form method="POST" name="QContact"> <table cellpadding="0" cellspacing="0" border="0"> <tr> <td width="100"> Your Name: </td> <td width="200"> <input name="Name" type="text" size="25"> </td> </tr> <tr> <td width="100"> Your E-mail: </td> <td width="200"> <input type="text" name="Email" size="25"> </td> </tr> <tr> <td colspan="2"> Your Message/Question: </td> </tr> <tr> <td colspan="2"> <textarea name="Message" cols="40" rows="7" wrap="virtual"></textarea> </td> </tr> <tr> <td colspan="2"> <input type="submit" value="Send"> </td> </tr> </table> </form> </body> </html>
Continue to Step 2