[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [ic] Require either one field or another in form profile checking?


>>> suppressed 04/13/05 10:18 AM >>>
> Hello everyone -
>
> Is there a way within a profile to require either one field or another?
> I wish to validate a contact form, to have either a phone number or an
> e-mail address. I suppose I could do something like add an intermediate
> page that would merge the two values. I thought also about "user defined
> check routines" - but I don't see a simple way to pass both of the
> values at once. Of course I could also do this user-side, but I prefer
> to avoid that. Has anyone done this, or does an elegant solution present
> itself?
> 
> Thanks!
> 
> JT

try something like this in your form profile.....

  &or phone_day=phone, email=email Must have phone number or email address.

/


_______________________________________________
interchange-users mailing list
suppressed
http://www.icdevgroup.org/mailman/listinfo/interchange-users


Mail converted by mhonarc 2.6.15
This archive provided courtesy of JSW4.NET, Internet Hosting Services for Small Business.