Forums / Developer / eZ Publish forms

eZ Publish forms

Author Message

Michael Scofield

Thursday 12 June 2008 8:24:17 pm

Hi

I'm creating a form that collects user information and I must not permit duplicate entries being registered. The email attribute of my class should be used to verify if the user is already registered. If the e-mail is already registered, then I must show a message saying that the user is already registered.

My question is. How do I do that? It seems that inside collect.ini.append.php I can not specify an attribute to be the key for duplicate entries. I can configure <b>CollectAnonymousDataList[]</b> to be <b>single</b>, in this case ez Publish will not permit duplicate entries, but will not use my e-mail attribute to make that verification.

Instead, eZ publish will use cookies to verify it. This is not sufficient for me because in a public computer (e.g at Internet Coffees, Lan houses), only one person will be able to register.

Thank you
Michael Scofield