Download & Extend

condition value - edit context = dependent always visible - view context dependent invisible when condition met

Project:Conditional Fields
Version:7.x-3.x-dev
Component:User interface
Category:feature request
Priority:normal
Assigned:Unassigned
Status:active

Issue Summary

Hello,

Thank you for this very helpful module.

I would like to have the following behaviour but if this is supported, I didn't manage to configure in this way so far :

The condition would be a value ((OR) any of X checkbox values set)

In the edit context form, i would like that the dependent field is always visible

In the view context, i would like that the dependent is invisible if the dependee has any of the value set under the condition.

Can you tell me if this is supported and missing something ? thanks

Comments

#1

Status:active» closed (works as designed)

well, I finally found how to do this:

- in edit context settings :
form state: unchanged

-in view context
select the box
"Hide the dependent if the dependency is not triggered "

then I just had to revert my conditions values to match the expected behaviour.
I didn't get it directly because I was looking for the opposite :
"Show the dependent only if the dependency is triggered "

hope it helps others

#2

Status:closed (works as designed)» active

I would like to reopen the discussion because the form state: unchanged
in edit context settings doesn't fully solve the issue.

The field stays visible but I can't modify its value when the form state is "unchanged"

I would like a setting for the "form state" in edit context that is "editable" whatever the condition...
Indeed, the objective of the condition in my case is only to control the view settings, not the edit settings

Thanks for any suggestion