Forum Discussion

HowardFu's avatar
HowardFu
Qrew Cadet
7 years ago

dynamic form rule issue

I have a dynamic form rule set up where a field (file attachment type) will show only when the value in another is true. However, the field only shows up after I save it. I've played around with it and changed the condition to be triggered by a different field to have the same action and it works fine. anyone able to explain why this is happening?
  • The field that works and the one that doesn't are both formula texts fields.
  • Ah I added the triggering field into the form and it works. Does that mean that the field I'm using to trigger the condition has to be shown in the form? It was designed to be more of a field used in the background that's never shown. Is there a way to achieve that?
  • In my experience the form is lazy (ie for perfomance reasons) and does not recalculate fields unless it needs them for the form.  It would be nice if the form realized that a field was used in a form rule and hence included it in fields it recalculates when the data changes.

    I typically have a section on the form called "Req'd for form rules" and then a rule like when some field is not equal to 99999999999, then hide section Reqd for form rules.

    That way the form will "see" any changes to those fields in that section as data entry changes and the form rule will work, yet not expose those fields to users.