Can't make one field editable in a read-only form

Farah5
Tera Contributor

I have a form that has various ACL's to make all the fields on the record either read-only or editable to users of certain groups depending on the State. However, I have one field that needs to be editable to all users at all times. I created a Write ACL for that one field, where I added a condition for all states. I also added a script 

 

gs.getUser().isMemberOf('  ');

 

 to test for write access to users of a specific group. This doesn't seem to be working, and the field is still read-only and following the rules of the other ACLs. What can I do to make sure it's editable at all times?

1 REPLY 1

Basheer
Mega Sage

Hi @Farah5 ,

In the ACL which you've written you need to mention as

if(gs.getUser().isMemberOf('Group Name')){
answer = true;
}
Please hit like button if my suggestion has helped you in any way.
Please mark correct if my response has solved your query.

Cheers,
Mohammed Basheer Ahmed.