Jump to content

Question

I am trying to make a datapage rule that will UNHIDE, and REQUIRE a value in a field based upon a value in another field.

 

It seems that I can only make one action for a field. I can’t unhide AND Require

Share this post


Link to post
Share on other sites

4 answers to this question

Recommended Posts

  • 0

Let's say if the value in another field is OTHER you want to unhide this field and make it require. Then you need to first add a section and have this field in a section as only one action per field is possible. Two rules you need:

1- Value = OTHER make the field required

2- Value is not equal = OTHER Make it Hidden

So you are doing it the other way around instead of saying

if value = OTHER Unhide

you say

If value is not OTHER Hide

Share this post


Link to post
Share on other sites
  • 0

That's one of the annoying things about rules, the "You can only use a field once."

Though you can add the field/s to a section. When you do that you are giving yourself another way to select that field.

Let say you have Field1 and you put it under Section 1. Then you can choose Section 1 for the first rule and the Field1 for the second rule or so.

Just saying. Cheers!

Share this post


Link to post
Share on other sites
  • 0

MiCro,

I use this method for 2 rules for hiding and requiring a field:

If you wrap the field in a section, then you can set the rule to hide the section (which will hide the field).

Then next rule you can require the field (not the section).

This way you can have both rules, you just cannot reference the same field for both hide and require. By referring to section for hide, you are not referring to the field twice.

Share this post


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...