Forums

Checkform with two conditions

ezeey 04 Mar, 2008
Hi,
I use the Checkform() Javascript Code described in this Tutorial.
Now I want one more Check with two conditions: If field_1 (a selectbox) has got a specific value AND field_2 (textfield) is empty an allert shall occur.
Unfortunatly I do not know any javascript but for people who do it should be easy.

thanks in advance!
ezeey
GreyHead 04 Mar, 2008
Hi ezeey,

I'm sure that you are right that it's possible. You might be better off asking in a JavaScript forum somewhere. That's a user example and not code that is a part of ChronoForms.

It is probably possible to do the same thing using ChronoForms validation but it would also need some custom code written.

Bob
This topic is locked and no more replies can be posted.