[Date Prev][Date Next][Thread Prev][Thread Next][Interchange by date
][Interchange by thread
]
[ic] Forcing User Email Address To Be Unique
> Mike added a unique check enhancement to IC 4.9, where you can do
> a form profile and put:
>
> email=unique userdb:email Sorry, that email address is already in our
db
Hey I was wondering where in profiles.order do I utilize that code? I
tried something like this and it didn't work:
__NAME__ account_change
fname=required
lname=required
address1=required
city=required
country=required
[if value country =~ /^(US|CA)$/i]
state=state_province
zip=postcode
[/if]
&or phone_day=phone, phone_night=phone Must have day or evening phone
number
email=required
&fatal = yes
email=email
email=unique userdb:email Sorry, that email address is already in our db