Display field rules vs. fied access

Post Reply
User avatar
rennecke
Sponsor
Sponsor
Posts: 214
Joined: 14 Jan 2018, 12:55
Name: Eberhard Rennecke
Location: Switzerland Zurich

Display field rules vs. fied access

Post by rennecke »

I discovered an issue with the display field rules and the field access.
First I configured some display field rules to hide some fields if another field has a certain value.
When I than configured the access to this field as "view only" hiding the other fields did not work any more.
I think if the access is configured to "hide" this function is reasonable, but with view access it should still work.
Could you pleas check this and correct it if possible. Thanks.
User avatar
support
Site Admin
Posts: 6215
Joined: 19 Oct 2014, 18:22
Name: Sergey Kharchishin
Location: Russia, Evpatoriya

Re: Display field rules vs. fied access

Post by support »

Not clear, can you provide live example, please.
User avatar
rennecke
Sponsor
Sponsor
Posts: 214
Joined: 14 Jan 2018, 12:55
Name: Eberhard Rennecke
Location: Switzerland Zurich

Re: Display field rules vs. fied access

Post by rennecke »

I defined some fields (Start & Ende).
2019-11-06 15_46_58-CBT PM _ Application Entities.png
Than I made a Display field rule to hide this fields fron the form if the status of "Entscheid AA" has the values as shown.
2019-11-06 15_45_56-CBT PM _ Rules display fields in the form.png
2019-11-06 15_45_56-CBT PM _ Rules display fields in the form.png (8.51 KiB) Viewed 2109 times
This works fine ("Start" and "Ende" are not shown on the form.
2019-11-06 15_47_33-CBT PM _ Arbeitsanmeldung (AA).png
When I set the Access to "Entscheid AA" to "View only" or "Hide"
2019-11-06 15_48_32-CBT PM _ Application Entities.png
2019-11-06 15_48_32-CBT PM _ Application Entities.png (5.46 KiB) Viewed 2109 times
The fields "Start" and "Ende" will be shown on the form. The value of "Entscheid AA" was not changed.
2019-11-06 15_49_24-CBT PM _ Arbeitsanmeldung (AA).png
From my opinion this is OK for the Access "Hide" but not for "View Only". The user can read the field and all functions linked with that field shoul work.
User avatar
support
Site Admin
Posts: 6215
Joined: 19 Oct 2014, 18:22
Name: Sergey Kharchishin
Location: Russia, Evpatoriya

Re: Display field rules vs. fied access

Post by support »

Now it's clear. I think I have found this issue. File from archive replace to includes\classes\model\
Let me know if it works ok now.
Attachments
forms_fields_rules.zip
(524 Bytes) Downloaded 183 times
User avatar
rennecke
Sponsor
Sponsor
Posts: 214
Joined: 14 Jan 2018, 12:55
Name: Eberhard Rennecke
Location: Switzerland Zurich

Re: Display field rules vs. fied access

Post by rennecke »

It's OK. Thanks.
Post Reply