zaipro
Založený: 17.03.2010
Príspevky: 4
Zaslal: 2010-03-17 08:55
Návrat hore
Odpovedať s citátom
|
I have mysql table with mysql unique field E-Mail.
Email is a varchar field and it's not a primary key in this table, it's mysql unique field.
Now when user input the same e-mail second time, i have mysql error
"Duplicate entry"
and all my webform with filled data is closed (I can not improve the data).
I need js validation, for example js message "This email is in our database - type another".
How is the best way to do this?
thanks
PW
|
|
Odoslať novú tému
Odpovedať na tému
|
|
|