I want to add some conditional logic to my captcha component.

  • Profile Image
    AENYtrav
    Asked on July 03, 2014 at 03:59 PM

    If the captcha is correct I want it to show the hidden fields again. How can I go about doing this?

  • Profile Image
    jonathan
    Answered on July 03, 2014 at 04:47 PM

    Hi,

    You cannot use the Captcha field for that purpose because the captcha field is not included in the conditional module.

    If you take a look at it more, the Catpcha field itself can already be a condition rule (you cannot proceed if the captcha value is wrong)

    May I also inquire why would you rather want to use the Captcha field for your condition logic? Perhaps if you can describe to us more about the purpose we can provide you with more suggestion.

    Thanks!

  • Profile Image
    AENYtrav
    Answered on July 07, 2014 at 10:38 AM

    Hi, the reason I want the captcha field to be conditional is because we want people that are short on business days to be prompted with a password before they can proceed with the late form. This way the company can keep track of which accounts consistently push late travel onto our sales team. I don't want the whole form to stop working, but if the date doesn't match the condition then I want a password prompt to continue. For example, When the password is correct the hidden fields become visible.

  • Profile Image
    Carina
    Answered on July 07, 2014 at 12:24 PM

    I made some tests trying to use a random generator together with conditions in order to simulate the Captcha function of giving a different value each time with no success. Random Value Generator widget does not accept conditions. 

    I will forward a feature request to our developers so they can consider its implementation. 

    A workaround might be to create a text box field and then adding a condition that if a certain value is inserted the rest of the form will show.

    You can see here more details.

    In this case the "code" is always the same. Is this a solution for you?

    Thank you.

  • Profile Image
    AENYtrav
    Answered on July 07, 2014 at 12:29 PM

    "A workaround might be to create a text box field and then adding a condition that if a certain value is inserted the rest of the form will show.

    You can see here more details.

    In this case the "code" is always the same. Is this a solution for you?"

     

    It is funny because I was thinking that too. However, I think we will just use the captcha as is and grant approval via email.

     

    Thank you!

  • Profile Image
    david
    Answered on July 07, 2014 at 01:41 PM

    Hi,

    I am glad you were able to settle on a solution that worked for you.  As my colleague stated previously, there has been a feature request ticket submitted and we will post here if there are any updates.  Let us know if you have any other questions and we will be happy to assist you.

    Thank you for using Jotform!