auto_stories Bilgi Bankası chevron_right Actions chevron_right Makale

Clear Contentv5

This action clears the contents of the specified form fields.

Properties

Description: Specifies a description for the action.

This description serves as a reference for developers, indicating the purpose of the action. The entered value is displayed in the Actions menu.

Heading: Defines the name displayed in the Form Action list.

The heading is also displayed when the Clear Content action is selected from other actions.

Fields: Selects the form fields whose contents will be cleared. Multiple fields can be selected.

Run Condition: If the query entered in this field returns '0', the action will not be executed.

Request Confirmation: Determines whether confirmation is required before executing the action. When enabled, the Confirmation Message property becomes available, allowing you to define the message displayed to the user.

 

Example

Suppose you have a form containing data and a button named Clear.

mceclip6.png

 

Assign the Clear Content action to the button's When Clicked event.

In the Fields property, select the form fields whose values should be cleared.

 

When the button is clicked, the contents of the selected fields are removed from the Client form, while all other fields remain unchanged.

mceclip8.png