Forums
>
Product Discussion - DotNetNuke Modules
>
Dynamic Forms
SQL validation firing when question is hidden
Last Post 07-30-2010 01:27 PM by Ryan Bakerink. 3 Replies.
Author
Messages
Troy
wading in the water
Posts:25
07-26-2010 12:13 PM
Hi,
I have a form that uses SQL validation on one question. In certain logical conditions, this question will remain hidden. The regular validation doesn't fire on hidden questions, but SQL validation does. Is there a way to turn this off (SQL validation) for hidden questions?
Thanks,
Troy
David To
river guide
Posts:2719
07-26-2010 05:58 PM
Hi, I believe SQL validation is server side validation so it will always kick in on form submit. What you can do is modify your SQL validation code to return IsValid = 1 when the question = ''. Another words, the question token will pass '' value when it is hidden. See if this will work for you. -- David
Troy
wading in the water
Posts:25
07-27-2010 05:51 AM
That approach works fine. Thanks David.
Ryan Bakerink
river guide
Posts:1900
07-30-2010 01:27 PM
Hello Troy,
We're glad you have found resolution to this issue. If you ever have any questions please feel free to ask away.
Thanks,
Ryan
Forums
>
Product Discussion - DotNetNuke Modules
>
Dynamic Forms
film izle
720 izle
film
sinema izle
film makinesi
T�rk�e dublaj film
film izle
film izle
baglan film izle
sinema izle
1080 film izle
film mercegi