What is the purpose/function of a button?


Posted by MES5464 - Oct 2 ’13 at 04:10

What is the purpose of a button?

It does perform my code but it also seems to perform a post back.

Is it possible to have the button change a text field value, submit, and close the form?

  • Dmitry Kozlov
    Dmitry Kozlov
    Member for: 8 years 10 months 24 days
    #1 by Dmitry Kozlov Oct 3 ’13 at 02:14

    Sure, to prevent an automatic postback, please, put the following code in OnClick property of your button:


    To submit the form by clicking your custom button use the following code:

  • MES5464
    Member for: 8 years 11 months 20 days
    #2 by MES5464 Oct 3 ’13 at 03:04

    thank you

Displaying 1 to 2 of 2 messages