function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
krisckrisc 

Changing fields to readonly

When a user creates a new account, i want them to enter data into a field and then once created not allow them to change this same field again. So i need the field to not be readonly on creation of a new account but readonly once the user has been created.
 
Anyone know how to do this or if infact its possible?
 
Cheers
 
Kris
sapsap
I dont think we can make a field read only after creation(If im not wrong).
 
One way u can stop editing that field is write a data validation on that field,throwing an error message
 
AND(NOT(isNEW()),ISCHANGED(FIELD))
krisckrisc
Thanks for your help - i'll give that a try and see what happens :smileyhappy:
krisckrisc
Does exactly what i want, thanks mate!