SQL validation firing when question is hidden
Last Post 07-30-2010 01:27 PM by Ryan Bakerink. 3 Replies.
AddThis - Bookmarking and Sharing Button
Author Messages
TroyUser is Offline
wading in the water
wading in the water
Posts:25
Avatar

--
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 ToUser is Offline
    river guide
    river guide
    Posts:2719
    Avatar

    --
    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
    TroyUser is Offline
    wading in the water
    wading in the water
    Posts:25
    Avatar

    --
    07-27-2010 05:51 AM
    That approach works fine. Thanks David.
    Ryan BakerinkUser is Offline
    river guide
    river guide
    Posts:1900
    Avatar

    --
    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


    ---
  • 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