Expand my Community achievements bar.

PreSave event doesn't change the access condition. With example

Avatar

Former Community Member
Hello



I have a form that when I save, in the presave event I execute onefield.access = "readOnly"; But it doesn't work. If I test on the event click of a button this works perfectly



You can test it in this download

http://www.hostingassociation.biz/tmp/examples/example_presave_event_access.zip

or

http://www.hostingassociation.biz/tmp/examples/example_presave_event_access.pdf



Thanks a lot



----------------------------------

Hosting Association

The low cost quality hosting

http://www.hostingassociation.biz

----------------------------------
1 Reply

Avatar

Former Community Member
Could you explain this further? It seems as if it would be much easier to simply make the field read only in the Value tab under Object.