Need Support? Let’s guide you to the right answer or agent.

provide option for script action to clear user selected values in a form control

currently we quite often use pairs of form controls where depending on conditional value of the first control, the second will be shown or hidden by script. Quite often a user will expose the hidden control, make a selection or populate data and then decide that it is not applicable and change it back to hidden. unbeknown for him the data selected will stay as value in the hidden control and may lead to mistakes. Therefore our current practice is to use a Hidden Empty Binding. Through Script when the optional second binding is being hidden we also change the value to the HiddenEmptyBinding. In a form we may have to have multiple hiddenEmptyBindings of all form control data types that are being employed in such way.

To simplify the process, please, provide an action in the script, where any binding can be cleared of its value in the Action part of the script editor.

example of scenario:

DropDown with label: Inspection outcome and values: Pass, Fail, cancelled

Multiselect with label: Reason for failure and values: Process, user, equipment, environment

on user selecting Fail the Multiselect is shown and user can make a further choice e.g. environment cause it starts poring rain


then rain stops without causing issues and user changes the inspection to a pass, so then the multiselect is closed. Multiselect will still retain value which will can cause errors or wrong impressions and analytics.

  • Kiril Tasev
  • Apr 4 2024