"If Fields Contains" Logic Parameter

  • NGHS
    Asked on August 17, 2015 at 11:18 AM

    Did the "Contains" parameter disappear from the conditional logic parameters? I could seriously use that right now, big time!

  • Ashwin JotForm Support
    Replied on August 17, 2015 at 1:11 PM

    Hello NGHS,

    The "Contains" parameter is very much there in the conditions and you should be able to use it in your forms as well. Please check the screenshot below:

    If Fields Contains Logic Parameter Image 1 Screenshot 20

     

    Do you mean to say that you are unable to see the contains parameter in your conditions wizard?  Can you please let us know the form and the field name with which you are having this issue with and we will take a look.

    We will wait for your response.

    Thank you!

  • NGHS
    Replied on August 17, 2015 at 2:03 PM

    Hello! It looks like it does not show up for me. I am needing to apply this condition to a drop down.

    http://form.jotformpro.com/form/52244462596965

     

    The idea is there are multiple options with the name "Walters" (as in Walters Auditorium). I want to show an Attendance option field if an option containing "Walters" is selected.

     If Fields Contains Logic Parameter Image 1 Screenshot 20

  • Kiran Support Team Lead
    Replied on August 17, 2015 at 4:58 PM

    It seems that you are looking for contains for a dropdown field. Unfortunately, contains parameter is available only text field or text area like fields. However, there is a workaround to achieve your requirement. 

    1. Add a new text-box field below the dropdown options listed. 

    If Fields Contains Logic Parameter Image 1 Screenshot 40

    This text box can be hidden on your JotForm.

    2. Add a condition to get the dropdown value to the newly added text box field.

    If Fields Contains Logic Parameter Image 2 Screenshot 51

    3. Now, add the condition required with contains on this text-box field as below.

    If Fields Contains Logic Parameter Image 3 Screenshot 62

    Please see the following cloned version of your JotForm with the changes provided above on System Overview & Continuum of Care - (Required) section. 

    http://form.jotformpro.com/form/52285997472976

    You may clone this JotForm to your account to see how it works.

    Hope this information helps!

  • NGHS
    Replied on August 17, 2015 at 5:14 PM

    That's pretty slick. I'll give it a shot - and I really appreciate the thoroughness of your reply. Have a good day!