affordit Posted February 25, 2008 Share Posted February 25, 2008 Im looking to find out how to verify form inputs are entered and if not display on the form the fact that the field is required without showing the ugly errors. If someone could give me an example of how its done or suggest a good place to look? Here is what I have know, a little primative. <center><font size='+2'>Registration</font></center><br> <form action=submit_registration.php method='POST'> <table align='center' border='0'> <tr> <td align = 'left'><img src='b_tipp.png' alt='If you do not have a business you can leave this field blank'>Company Name:</td><td><input type=text name=company size=30 maxlength=100></td> </tr> <tr> <td align = 'left'><img src='b_tipp.png' alt='This will be your username and will be cAsE SeNsItIvE'>Your Name:</td><td><input type=text name=username size=30 maxlength=100><br><font color = '#FF6600'>No Blank Spaces in Name</font></td> </tr> <tr> <td align = 'left'><img src='16x16spacer.gif'>Address:</td><td><input type=text name=address size=30 maxlength=100></td> </tr> <tr> <td align = 'left'><img src='16x16spacer.gif'>City:</td><td><input type=text name=city size=30 maxlength=100></td> </tr> <tr> <td align = 'left'><img src='16x16spacer.gif'>State:</td><td align = 'left'><input type=text name=state size=2 maxlength=2></td> </tr> <tr> <td align = 'left'><img src='16x16spacer.gif'>Zip:</td><td align = 'left'><input type=text name=zip size=5 maxlength=100></td> </tr> <tr> <td align = 'left'><img src='16x16spacer.gif'>Phone:</td><td><input type=text name=phone size=30 maxlength=100></td> </tr> <tr> <td align = 'left'><img src='b_tipp.png' alt='You must enter a valid email address so your new password can be emailed to you'>Email:</td><td><input type=text name=email size=30 maxlength=100></td> </tr> <tr> <td align = 'left'><img src='b_tipp.png' alt='Write a question only you know the answer to. It will be used if you lose your password.'>Verification Question:</td><td><input type=text name=lost_password size=30 maxlength=100></td> </tr> <tr> <td align = 'left'><img src='b_tipp.png' alt='Write your answer to the above question.'>Verification Answer:</td><td><input type=text name=lost_password_answer size=30 maxlength=100></td> </tr> Quote Link to comment Share on other sites More sharing options...
Nuv Posted February 25, 2008 Share Posted February 25, 2008 Cen we also see submit_registration.php? as i think its needed? Quote Link to comment Share on other sites More sharing options...
hamza Posted February 25, 2008 Share Posted February 25, 2008 Form verification you need to use javascript or any server side language . Depends on you Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.