Switching on/off a field's validation

fhe 04 Nov, 2009
Hi everyone!

I have a CF with a field that I show/hide using a Javascript function everytime that a certain value is selected from a dropdown listbox. Now what I'd like to do is to enable the field validation only when the field is visible and to disable it when it's hidden using Javascript or PHP. Is it feasable? Do you have any idea?


Thanks a lot
GreyHead 04 Nov, 2009
Hi Francesco,

There have been a couple of threads on this in the last couple of weeks.

Bob
fhe 04 Nov, 2009
Hi Bob,

I'm sorry but I really can't find those posts...could you please help me?

Francesco
fhe 05 Nov, 2009
Hi Bob!

Thank you so much for your help! Now it works great!

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