Hi,
I'm planning to validate the data that users input to my forms with the data in the database. So that if users inputs sequence that already exist in the DB the form would give a fancy error that it already exist – go do something else. Good example is user name or email that is forbidden to be double in the system.
I found user functions but that's almost all.
I couldn't find API that would explain how I show different error signs and how to tell not to process the form contents. What is the procedure of validating forms and where I have to input my code to connect to database.
I know the connection to the database part, when I'm doing it straight with mysql_query(). If cforms has an API for that I'm not aware of that either.
All help is welcome. I feel like having two thumbs here ;)
Sunny days,
Tommi