Jump to content

On Execute: Difference between revisions

From Resco's Wiki
Marek Rodak (talk | contribs)
No edit summary
Marek Rodak (talk | contribs)
No edit summary
Tag: visualeditor-switched
Line 2: Line 2:


<span style="float:left; padding-right:10px">[[File:On Execute button.PNG|top]]</span>
<span style="float:left; padding-right:10px">[[File:On Execute button.PNG|top]]</span>
On Execute is triggered when the command button is pressed. This rule lets you define the actions that the command performs. For example, clear some specific field on form or whole form right away.
On Execute is triggered when the command button is pressed. This rule lets you define the actions that the command performs. For example, It can be filling in some data, hiding fields, etc.
 
In Woodford, you can edit the commands available for a form.
In Woodford, you can edit the commands available for a form.
In Questionnaire Designer, you can edit the commands available when filling out a questionnaire.
In Questionnaire Designer, you can edit the commands available when filling out a questionnaire.
Line 15: Line 14:
*[[Questionnaire Designer|Questionnaires]]
*[[Questionnaire Designer|Questionnaires]]


===Examples===
===Example of a simple On Execute command===
 
'''On Execute''' rule defines the actions that the command performs. It can be filling in some data, hiding fields, etc.


{| class="wikitable"
{| class="wikitable"

Revision as of 12:54, 9 September 2022

Warning Work in progress! We are in the process of updating the information on this page. Subject to change.

On Execute is triggered when the command button is pressed. This rule lets you define the actions that the command performs. For example, It can be filling in some data, hiding fields, etc. In Woodford, you can edit the commands available for a form. In Questionnaire Designer, you can edit the commands available when filling out a questionnaire.



On Execute is available for the following user interface components:

Example of a simple On Execute command

If Condition Command.Name Equals custom_del_street
Then Step Entity.addres1_line1 Clear