Restrict Editing on Lookup Field
Hello!
I appreciate your assistance with this question. I am trying to use a javascript function in the form preload to restrict editing on a lookup field. This lookup is automatically filled in based on the field value chosen prior.
This is the script that I am trying to use, however, I am receiving an error that 'skybow' is not defined
skybow.Form.Ready(function () {
var lookupField = skybow.field.getField("[[Site_x0020_Location_x0020_Addres5]]");
lookupField.disable();
});
0
-
Hi Maria Giugno,
therefore you can use our Enabled Expression, which is available on every field. You can disable it fixed by setting it to false or you can also disable it on a dynamic condition.

Where did you find your solution? Looks like something old from the classic skybow Rich Forms editor, which does not work in Modern Forms anymore.
Kind regards
Matthias
0
Please sign in to leave a comment.
Comments
1 comment