In this chapter, we'll update the app to have a more natural screen flow. This involves hiding buttons that are not needed when the user is doing certain things:
Update the buttons in your app to give it a more natural flow. To recap the steps in the video:
- Add a new button:
- Right click on the edit form and go to Open Palette → Basic Components
- Drag a new button on to the form
- Configure the new button:
- Set the name to
Clear Contact Fields
- Set Action Type to Clear All Fields
- Set the name to
- Set the button label to
Clear
Go into App Mode and try the new button. You will see that it clears the values from all fields on the form. Therefore, this is a useful button to press before entering details for a new contact.
Exercise
Update the Delete
button so this is hidden when users are entering a new contact.