• Resolved jamesradcliffe

    (@jamesradcliffe)


    I’m just wondering if it is possible to hide fields depending on the answers selected previous fields?

    The page I need help with: [log in to see the link]

Viewing 4 replies - 1 through 4 (of 4 total)
  • Plugin Author codepeople

    (@codepeople)

    Hello @jamesradcliffe

    Yes, of course, that is possible. Please, read the following post in the plugin’s blog:

    https://cff.dwbooster.com/blog/2020/03/01/dependencies/?index=1

    Best regards.

    Thread Starter jamesradcliffe

    (@jamesradcliffe)

    Hi,

    Thanks for the quick response as always! Just attempted this and couldn’t work it out for a while although what I think I’m struggling with is that I’m trying to hide fields depending on answers selected in a dropdown menu, not a calculated field.

    Just wondering if I’m missing something and this is still possible or if there is a way around this?

    Many thanks,
    James

    Plugin Author codepeople

    (@codepeople)

    Hello @jamesradcliffe

    If you want to hide a field when a specific option of the DropDown field is selected, you should configure this field as dependent on the rest of options in the DropDown field.

    Furthermore, the calculated fields can be used as auxiliary (the calculated fields can be hidden by ticking a checkbox in their settings). I’ll try to describe the process with a hypothetical example:

    Assuming the DropDown field is the fieldname1, and you want to hide the fieldname2 field if the option: “A” is selected in the fieldname1 field.

    1. Insert a calculated field in the form configured as hidden with the following equation:

    
    IF(fieldname1=='A', 0, 1)
    

    2. Finally, define the following dependency in the settings of calculated field:

    If the value is equal 1, and then, select the fieldname2 from the list of dependent fields.

    Best regards.

    Thread Starter jamesradcliffe

    (@jamesradcliffe)

    Working perfectly now, thank you so much for your help!

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Hide field depending on previous selection?’ is closed to new replies.