Forum Discussion
JessicaStevens
4 years agoQrew Member
Or is there a way to set up a dynamic rule that looks for duplicate values and shows a message?
------------------------------
Jessica Stevens
------------------------------
------------------------------
Jessica Stevens
------------------------------
- MarkShnier__You4 years ago
Qrew Legend
You can make a formula numeric field called [record ID mirror]. The Formula will just be [Record ID#]
Then adjust your dynamic form rules to only lock editing when the record ID mirror field is greater than zero and the user is in a particular role. Reasons I don't understand you cannot use record ID directly in a dynamic form rule but it lets you use record ID mirror. Record ID# Mirror will be blank when the record has not yet been saved
------------------------------
Mark Shnier (YQC)
mark.shnier@gmail.com
------------------------------- JessicaStevens4 years agoQrew MemberThank you.
The problem is, once the new profile is saved- We want to lock down the ability to edit again.
In other words, we want certain users to be able to add a new profile but not be able to make edits after the profile has been created.
------------------------------
Jessica Stevens
------------------------------- MarkShnier__You4 years ago
Qrew Legend
That use case is exactly what my answer was intended to address.
When the user is an Add mode you can detect that because the record ID number is blank. So then the form rule make the fields non-editable would be not in effect when the user is in Add Mode.
So the form rule would say when the Record ID mirror is greater than zero (meaning that the record was being edited) and the user is in certain Roles, then lock down those fields from being edited.
------------------------------
Mark Shnier (YQC)
mark.shnier@gmail.com
------------------------------