Editform - Date/Time-Picker readonly = False
-
- Posts: 29
- Joined: Fri May 25, 2018
Hi Guys,
how can i change the readonly property via Javascript from an date/time-Field in the Edit-Form from readonly=true (Standard for all user) to "readonly=false" for Special users? To ident specific user is not a Problem. But if the field is Standard (property set in the Forms Designer Client) readonly=true i cant change it.
i tried:
fd.field("DateTimeTest").readonly(false);
without success (no error, nothing happened)
thanks in advanced
how can i change the readonly property via Javascript from an date/time-Field in the Edit-Form from readonly=true (Standard for all user) to "readonly=false" for Special users? To ident specific user is not a Problem. But if the field is Standard (property set in the Forms Designer Client) readonly=true i cant change it.
i tried:
fd.field("DateTimeTest").readonly(false);
without success (no error, nothing happened)
thanks in advanced
Hi!
Unfortunately, if the readonly property is set to true, then it will be no input text area for this field on the form and a command 'readonly(false);' will be useless.
As far as I can see, there are two options in this case:
1) Set the readonly property to 'false' in the Field Settings and then populate it with 'true' or 'false' in the script depending on the user came in.
2) Provide different forms for different users: https://spform.com/groups-and-form-sets ... int-online
Unfortunately, if the readonly property is set to true, then it will be no input text area for this field on the form and a command 'readonly(false);' will be useless.
As far as I can see, there are two options in this case:
1) Set the readonly property to 'false' in the Field Settings and then populate it with 'true' or 'false' in the script depending on the user came in.
2) Provide different forms for different users: https://spform.com/groups-and-form-sets ... int-online
-
- Information
-
Who is online
Users browsing this forum: No registered users and 24 guests