You are viewing limited content. For full access, please sign in.

Question

Question

Enhancement Idea: Forms field rules include ability to base rules on the form being in a read-only state.

asked on January 6 Show version history

I would like to be able to set-up field rules in the Modern Designer to Show/Hide/Disable/etc. fields based on the form being in a read-only status (such as when it is viewed by one of several users the form is assigned to, but they haven't claimed the form yet).

An example of where this would be handy is custom HTML elements with buttons being hidden or disabled when the form is read-only.  I have a form with a bunch of custom buttons, and I've noticed they still function despite the read-only state of the form.

I'm working on blocking the functionality via Javascript, since the LFForm object has values to indicate if the form is read-only, but it would be really nice to be able to do it via Field Rules.

Thank you!

**EDIT TO ADD**

I guess in the specific example I gave, the status is Disabled, not ReadOnly.  But it is the same idea.  It would be nice to dictate Field Rules based on the current status of the form.

The LFForm object has statuses including these: isCloud, isPreview, isReadonly, isDisabled, isPrint, isAnonymousUser, and isDraft.  It would be nice if those same statuses were accessible for dictating Field Rules.

0 0

Answer

SELECTED ANSWER
replied on January 7

isPreview would be especially nice for hidden "system variables" too. I'll add it to my list

0 0
replied on January 7

Thank you @████████!

0 0

Replies

You are not allowed to reply in this post.
You are not allowed to follow up in this post.

Sign in to reply to this post.