Women in Technology

Hear us Roar



Article:
  User-Friendly Form Validation with PHP and CSS
Subject:   Expanding your example to multiple fields/types of fields
Date:   2006-04-06 14:56:13
From:   aberns
Hello,
I am very interested in server side form validation. With your solution however, I couldn't see how to extend it to validate more than just the email field. What if you have 10 text fields, one textarea, 8 select/option fields, 6 radio buttons, and 5 check boxes? Would you be willing to elaborate on how to check more than just one email field?


Out of desparation, I came up with an alternate solution, but I am almost too embarrased to post it, since I'm sure people will point out that it is horribly cumberson, inefficient, etc. I guess I will wait first for a response to my original question as to how to extend your solution to many different types of fields, to see if you are still monitoring this tutorial. Thank you very much.
Cheers,
Audrey

Full Threads Oldest First

Showing messages 1 through 2 of 2.

  • Expanding your example to multiple fields/types of fields
    2008-04-21 10:01:33  thalif abu [View]

    i need the code for form validation in the case of having 8 different field using php.
  • Expanding your example to multiple fields/types of fields
    2008-04-21 09:57:05  thalif abu [View]