From: "Justin Patrin" on
On 5/3/07, l Burnerheimerton <lburnerheimerton(a)yahoo.com> wrote:
> I have a form where I need to validate the user is not
> repeating values already in a database table that has
> two primary keys. Thus I need two fields from the
> form to check but I only see this in examples:
>
> function f ($element_name,$element_value){
>
> }
>
> Using quickform, how can I check two form fields in
> ONE function?
>

Please only send one copy of your messages to the list.

It looks like rules in general are assumed to relate to one field but
rules such as the built-in Compare take 2 fields. Try checking that
one.

--
Justin Patrin