Issue 215 in php-form-builder-class: How to compare user entered element value with DB content?

1 view
Skip to first unread message

php-form-bu...@googlecode.com

unread,
Jun 25, 2014, 9:04:41 AM6/25/14
to php-form-builder...@googlegroups.com
Status: New
Owner: ----
Labels: Type-Defect Priority-Medium

New issue 215 by i...@oeko-travel.org: How to compare user entered element
value with DB content?
http://code.google.com/p/php-form-builder-class/issues/detail?id=215

What steps will reproduce the problem?
1. create table "user" containing "user_name" in a mySQL DB
2. fill in a user-name
3. add element "user_name" to a form
4. display form, fill in a user name
5. submit

What is the expected output? What do you see instead?
TRUE / FALSE
and, if FALSE
An error msg telling me that the user name entered is already in use

What version of the product are you using? On what operating system?
the newest one

Please provide any additional information below.

Question:
How can I check wheter a user name is already used (stored in the db)
before and after submit?

Any ideas?
thanx :-))





--
You received this message because this project is configured to send all
issue notifications to this address.
You may adjust your notification preferences at:
https://code.google.com/hosting/settings
Reply all
Reply to author
Forward
0 new messages