PLEASE NOTE: These forums are no longer utilized and are provided as an archive for informational purposes only. All support issues will be handled via email using our support ticket system. For more detailed information on this change, please see this blog post.

Conditional Logic + RegEx

  1. ZeadsDead
    Member

    Here is my current form...

    Single Line Text: What are the names of your co-owners?

    The user might have multiple co-owners so I wanted to build about 5 or 6 Single Line Text boxes. But I only want each box to show if the prior Single Line Text is completed because it looks too messy/confusing to have 6 empty boxes... they should only pop up if the user keeps adding co-owners.

    I was going to use conditional logic but there is no wild card feature.

    Is it possible to: show the next box if the previous field contains ANY value.

    Currently, the conditional logic requires me to put in a specific value for the previous box. I'd like to put in a wild card so it pops up so long as there is ANY text in the prior Single Line Text box.

    Possible?

    Posted 11 years ago on Friday January 18, 2013 | Permalink
  2. ZeadsDead
    Member

    Found the answer!

    You simply put the following formula in your conditional logic field:

    Show this field if any of the following match:
    _____ is not `$(#))>#

    As you can see, no one would ever put this value as an answer and thus, the field will show!

    Issue Resolved.

    Posted 11 years ago on Friday January 18, 2013 | Permalink
  3. That's a neat workaround. Thanks for posting it.

    Posted 11 years ago on Friday January 25, 2013 | Permalink
  4. KyleVee
    Member

    At first I thought this solution would solve my problem, as I can see your logic based on the assumption that it is only checking the field once something has been entered.

    But it seems like the field is being checked as the form is being loaded and of course by default the field would not have `$(#))># in it so the "hidden" field was being shown straight away.

    For anyone else with the same issue, my solution was to leave the "Enter a Value" field blank:
    Show this field if any of the following match:
    _____ is not 'leave blank'

    and save the form.

    I hope this helps.

    Posted 11 years ago on Monday February 4, 2013 | Permalink
  5. Thank you for updating the topic with your new solution.

    Posted 11 years ago on Monday February 4, 2013 | Permalink