cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Stavros Kounis <gou...@osmosis.gr>
Subject database action - duplicate entries
Date Wed, 16 Apr 2003 15:55:17 GMT
hi

i have succesfull  add records in a table
using DatabaseAddAction

but

one field of my record in "email" and i dont want to be
duplicate email entries
is there any action that check the content of submited field and return an
error (without add anything in database)

i can define email as the primary key in mySQL and avoid duplicate entries
but i need a confirmation error message when a user try to add record with
an existing email


thanx

-- stavros


---------------------------------------------------------------------
To unsubscribe, e-mail: cocoon-users-unsubscribe@xml.apache.org
For additional commands, e-mail: cocoon-users-help@xml.apache.org


Mime
View raw message