How to create a condition based on the full name prefix value?

  • bestsmile18
    Asked on July 8, 2020 at 4:34 AM

    Hi support, 

    I have not been to find the answer online so far. 

    I'm trying to display a question in my form based on the name prefix as the question only applies to woman. 

    I have not been able to use the prefix in the conditional visibility formula. 

    Is there a way to accomplish this ?


    Thanks

  • Jed_C
    Replied on July 8, 2020 at 8:17 AM

    What you can do is copy the value of the name field into a short text entry field.

    ex.

    1594210512The Easiest Online Form Builde Screenshot 10

    1594210451The Easiest Online Form Builde Screenshot 21

    Once you capture the information, you can now create a condition that if the short text entry field contains "Dr" for example, then trigger condition.

    1594210610The Easiest Online Form Builde Screenshot 32

    I hope that helps. If you have any question or if you need further help, please let us know.

  • bestsmile18
    Replied on July 8, 2020 at 8:34 AM

    Hi Jed_c, 

    I had tried as you mentioned but it copied the name without the prefix.

    Is it because it is a picklist ?

  • bestsmile18
    Replied on July 8, 2020 at 8:36 AM

    1594211761Capture Screenshot 10

    1594211791Capture1 Screenshot 21 

  • bestsmile18
    Replied on July 8, 2020 at 8:40 AM

    You can see that somehow the 13.Name convert to 12.Name upon saving, even though they were the same number upon creation, here is the link to the form : 

    https://form.jotform.com/201252214808345

  • Bojan Support Team Lead
    Replied on July 8, 2020 at 10:04 AM

    Unfortunately, it is not possible to use the dropdown for the prefix to get the information about the selected option.

    The field numbering must be a bug. It does refer to the same field, and in this context, it does not matter.

    As an alternative, you can have a separate dropdown field, asking for the prefix, or have a radio button as you have already added.

    Please let us know if you have any additional questions.