Would it be possible to create a text field for a certain content type in Umbraco that can be filled out once and once saved, can not be changed anymore?
Does it have to be filled by the client via the umbraco front-end? If not, you could use the label datatype and set it's value via code. Else you could use the Textstring and add a Document.AfterSave event handler, which checks if the value has been set and change it's datatype to a label so it can't be altered via umbraco UI anymore.
Read only umbraco field
Hello :)
Would it be possible to create a text field for a certain content type in Umbraco that can be filled out once and once saved, can not be changed anymore?
Regards, Julius
Does it have to be filled by the client via the umbraco front-end?
If not, you could use the label datatype and set it's value via code.
Else you could use the Textstring and add a Document.AfterSave event handler, which checks if the value has been set and change it's datatype to a label so it can't be altered via umbraco UI anymore.
Ok, bedankt kippensoep ;) I am going to have a look at this solution.
is working on a reply...