ProcessCommand |
![]() ![]() ![]() |
ProcessCommand element defines a command to submit the enclosing ProcessForm. The element can be defined using an HTML INPUT element either with type button or hidden.
See PMgr.submitProcessForm() in MoreMotion Face API. This property should contain the names of the ProcessBlocks (separated with commas) existing in the ProcessForm that needs to be validated before the submission. During the ProcessBlock validation, the ProcessFields existing in the blocks are validated according to their validation settings. beforeSubmitFunc In this property you can define the name of a Javascript function to be called just before the submitting the Process Form. The function receives the form object as the parameter can perform last minute tasks such as validation the input and it can cancel the submission of the form by returning false as the result. validateInput Select "true" if you want that the input fields are validated before submitting the ProcessForm. The validation is performed only for the fields that are located in the ProcessBlocks specified with requiredBlocks attribute. confirmMessage For some cases it is necessary to ask the user's confirmation before submitting the Process Form; .e.g. before deleting a record. If a value is given into this property, it will be displayed to the user in a confirmation request dialog and the Process Form will be submitted only if the user confirms.
See Process Command Configuration See ProcessCommand Function Class in MoreMotion Face API.
|