_setPortalVisibility
Sets whether a Form is visible via portal or not and if it can be picked.
Parameters
id
The ID of the Form
val
An integer which decides if the Form is visible and if it can be picked: 0 => Not visible, cannot be picked 1 => Visible, cannot be picked 2 => Not visible, can be picked 3 => Visible, can be picked
Example
Results
On Success
If the value of "val" is the same as before:
On Failure
If the "id" parameter is missing:
If the "val" parameter is missing:
If the "id" parameter does not match an existing Form:
Last updated