Hi Mily,
Can you provide more detail about what you are trying to achieve? It sounds like you want to create an OnClick event for a button field on a form. To do so you can do the following:
Open the form for editing.
Click the "button" button in the form editor toolbar to add a new button field.
Confirming that the button is selected in the editor, click the Field Events tab.
Add a new Field Event method with event="onClick".
Save the Form.
Right click the Field Event row and select "View Method".
Lock the method and write the code you want to execute when the button is clicked.
Hi Mily,
Can you provide more detail about what you are trying to achieve? It sounds like you want to create an OnClick event for a button field on a form. To do so you can do the following:
Open the form for editing.
Click the "button" button in the form editor toolbar to add a new button field.
Confirming that the button is selected in the editor, click the Field Events tab.
Add a new Field Event method with event="onClick".
Save the Form.
Right click the Field Event row and select "View Method".
Lock the method and write the code you want to execute when the button is clicked.