Skip to content

Instantly share code, notes, and snippets.

@furkankaracan
Created August 1, 2022 13:51
Show Gist options
  • Star 1 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save furkankaracan/cedbab1e0c967e224c26381b940e90ff to your computer and use it in GitHub Desktop.
Save furkankaracan/cedbab1e0c967e224c26381b940e90ff to your computer and use it in GitHub Desktop.
UpdateReadonlyField: function (context) {
var formContext = executionContext.getFormContext();
formContext.getAttribute("myreadonlyfield").setValue(newValue);
formContext.getAttribute("myreadonlyfield").setSubmitMode("always");
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment