• Resolved ctgrubbs

    (@ctgrubbs)


    First I am not a developer but I have googled and scoured the forums for help but may not know exactly what to search for. Thanks in advance for any direction or advice.

    Scenario: Creating a permission slip for a youth group which should be simple but they’ve started to ask for additional features.

    • Example 1 – Simple Yes/No Field but if “Yes” trigger an addition (required) field for further information.
      • I’ve provided just a second field for extra info and stated in the Help Text “if Yes please provide detail”. This works but I wondered if it could be tied to the next field with an If/then statement or something like it.
    • Example 2 – They want to identify if a phone number is Cell, Home, or Work. I know…seems odd in this day and age but they are trying to follow an old paper form that offered those options.
      • Is there a way to use a single field like radio buttons to select along with a text/numeric field? Similar to the radio buttons/other field.
        • I currently just use two fields, one to identify Phone Type and another to get the phone number with some regex to keep the input consistent.
      • Example 3 – Free form text between Fields for added context or clarity.
        • Tried many settings and found the “Heading” option but I couldn’t ever get the field to show up on my form. I read the forum and saw there were some extra steps to get it in place, but for the life of me, I couldn’t ever get it to be visible on the form.
      • Example 4 – On my form I have different areas where a phone number is requested (e.g. Participant, Guardian 1, Guardian 2, Emergency Contact, etc). However, I don’t want to make every one of these phone fields “required” but I do want input validation if they choose to enter data in these optional fields.
        • I am doing my validation via regex. If I set the field to use regex, it makes it a “required” field. Is there any way around this?
Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Author xnau webdesign

    (@xnau)

    Setting up this kind of dynamic interaction with the form requires javascript. If you’ve got some javascript coding skills, it is not difficult. The plugin provides a templating system which makes it easy to add your custom code to the form.

    I don’t know what issues you’re facing with the “heading” field. You mist make sure that the field is configured to appear in the form you are showing. Read the heading field documentation for the details.

    It is possible to construct a regex validation so that it will allow the field to be blank, but if there is something there, it will validate it. Take a look at this article that explains how to construct the regex: Regexes with a Blank Alternative

    Thread Starter ctgrubbs

    (@ctgrubbs)

    Thanks for pointing me in the right direction. I believe I have the answers I needed now.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Feature Request: if/then option and radio buttons w/added text field option’ is closed to new replies.