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

Question

Question

Forms Enhancement Idea for Field Rules Based on Field Changes

asked on March 6 Show version history

I don't believe this exists currently, unless this was added with version 12 (I haven't been able to upgrade yet).  I haven't seen it in version 11.0.2311.50556, nor do I remember seeing it in the previews of version 12.

It would be a nice addition to Field Rules in forms if we could set a rule based on a field being changed.

Example:   Make Field B required when Field A has been changed.
or
Example:   Show Field B only after Field A has been changed.

We can do this now with Javascript and a third field.  Example: When Field A changes, populate a value into Field C, and have a field rule that controls Field B based on the value in Field C.  But it would be a cool addition to be able to do this via Field Rules without the need for the third field or Javascript.

Even better would be if it could identify changes by the user versus changes by the system (i.e. lookups) so that you could make sure a lookup didn't trigger the field rule by populating the trigger field, but a user could do it.

4 0

Replies

replied on March 6

I think all of the permutations of this would be difficult to tackle in a way that would satisfy all use cases. I can imagine a whole waterfall of things someone may want to exclude or include from that field rule being run (like JS). 

I'll think about it some more. A more specific example of what you're trying to do would help.

0 0
replied on March 6

I was just working on some forms that started with data from a lookup, and I needed to identify whether or not the user had changed the value in order to trigger another set of fields to become required and/or shown.  I ended up having the lookup go into both the regular field and a hidden second field, in order to compare the two for changes.  And I needed another hidden field to populate a value to trigger the field rules.  So I needed two extra fields for the Javascript to identify the original field had been changed and trigger the field rule.  I was just thinking it would be nice to have the field rules able to do that without the script and extra fields.

1 0
You are not allowed to follow up in this post.

Sign in to reply to this post.