Jump to content
  • 0

Data page rules - use field twice?


Question

Hopefully I can explain this.

Three Fields: 

A= Yes/No

B= Dropdown choice with an "other" option

C = Other field if OTHER chosen in dropdown B.

If A = No, hide B and C

Having trouble getting B and C to appear/hide based on values because I think you can only use a rule on one field at  a time.

Example:

A = Male? (Y/N) , if Yes show B, keep C hidden still.

B = Dropdown with "other" option.  If other chosen, then show C, the other text field.

But the rule stating to hide B and C does not allow me to apply another Rule for C.  I can get B and C hidden or shown at same time only.  Hope that makes sense.

Way around this?

 

Link to post
Share on other sites

2 answers to this question

Recommended Posts

  • 0
On 6/2/2017 at 11:08 AM, roattw said:

Hopefully I can explain this.

Three Fields: 

A= Yes/No

B= Dropdown choice with an "other" option

C = Other field if OTHER chosen in dropdown B.

If A = No, hide B and C

Having trouble getting B and C to appear/hide based on values because I think you can only use a rule on one field at  a time.

Example:

A = Male? (Y/N) , if Yes show B, keep C hidden still.

B = Dropdown with "other" option.  If other chosen, then show C, the other text field.

But the rule stating to hide B and C does not allow me to apply another Rule for C.  I can get B and C hidden or shown at same time only.  Hope that makes sense.

Way around this?

 

You need to define all the criteria when you hide a specific field. It's allowed using fields several times in criteria.

E.g:

rule 1: when a = "no" hide B

rule 2: when a="no" OR B is not equal 'other' - hide C

This way you will get more flexibility in rules.

Link to post
Share on other sites
  • 0

Hey there! :D

As I understand, if you select "Yes" for  field A,  field B would be shown, and if you click on "Other" for field B - field C would be shown.

I tried this on my end and I managed to make it work. Looking at the rules, you need to hid Field C two times, that is - IF A = NO , and if B = OTHER.  But the System Limit of the Rules only allow you to hide a field once.

What you need to do is to create a separate section for Field B and Field C.

So the Rule would go like this:
Rule 1 : IF A = NO , hide section 2
Rule 2: IF B != OTHER, hide Field C. 

Have a great day! :lol::D

Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Answer this question...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
×
×
  • Create New...