Jump to content
  • 0

Would a DP rule to hide a field also remove its default value for radio button selection?


roattw

Question

See if I can explain this well.  I have a DP with some basic radio buttons (custom values of Yes or No).  They are set to default "No" when the form is launched.  So if not changed to Yes I should see a No in the table.

 

1584386452_dp_YNb.png.5fb9710b07f4b88172edd97a852b9a62.png

dp_YN.png.db800134635389e0d8c0a13992706cbb.png

 

But in the table, I am seeing a few instances where the field shows as a blank entry (#1 below).   Most are populated with an answer (No or Yes).  But I noticed the ones left blank (despite being set for default = No) all have a shared "Y" in an adjacent field (#2 below).  And I noticed that on the DP there is a rule stating if that column #2 is checked (Y) then hide "section 5" which is the column with the missing answers ("IV_treatment").  It seems like the Y response to "Not_stroke"  is actually hiding the value for IV_Treament and preventing it from being recorded.  Is that normal?  Does "Hide" mean not just hide that form "section", but also hide its default value from being recorded?

 

dp_rule.png.d3851b06a05c3402322b8b5a00cd42d1.png

 

Link to comment
Share on other sites

2 answers to this question

Recommended Posts

  • 0

Hello @roattw

 

As I know, when you hide a field on a form's conditional rules, it will ignore the value that is set on that field and will mark as blank by the system. 

For your setup, what I can suggest for you to use is a (Yes/No) field instead of text(255) so when he rules hide it, the value will still be saved as (No/N/unchecked).

I hope this helps :) 

Link to comment
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...