Now that we have created the form and it is running, we want to add some buttons and change the types of fields that we have created in the form. In this recipe, we are going to perform the following tasks:
We are going to add two buttons. We will add an OK button which will save and exit the form. We will also add a Cancel button which will exit the form without performing any validation. We are going to add the buttons to the
To add buttons ...