Support Article
Modal dialog for OnChange-LocalAction action-set does not work
SA-59751
Summary
Modal dialog for OnChange-LocalAction action-set does not work.
Error Messages
Not Applicable.
Steps to Reproduce
- Configure maximum characters for a Text Area field. For example, 4000 characters
- Configure an action-set for OnChange event and 3 actions in the below order on the same Text Area field:
- Post Value
- Run data transform
- Local action (launch modal dialog) with a When Condition. The condition is 'if length of the text entered is greater than 3999 characters, launch the local action in modal; if false, modal dialog should not display' - Enter maximum limit of characters in the Text Area field
- Click out of the Text Area. Modal dialog does not display even though the Text Area content length is 4000 characters
- Remove few characters in the Text Area field and click outside the form. The modal dialog displays
Root Cause
A software use or operation error.
The property which is checked in the When condition should be a part of the section UI and the value of the property should be available to the user. Other Property When condition is evaluated at the user side and so values of the properties in the expression should exist in the section UI.
Resolution
Perform the following local-change to make the value available to the user:Configure either a hidden property that is used as part of the When condition of the local action properties in the action-set or any other control (No server side when conditions), which bounds to the When condition property.
Published August 24, 2018 - Updated October 8, 2020
Have a question? Get answers now.
Visit the Collaboration Center to ask questions, engage in discussions, share ideas, and help others.