Skip to main content
Question

Multiple types of Save buttons

  • May 18, 2022
  • 0 replies
  • 138 views

I am looking to create 3 buttons at the bottom of a form:

1. Clear Form Button - a button that when clicked will clear the form so the user can start over again without having to back out to the homepage and start a new record.
  • The catch is that currently the from starts with 2 fields auto populated and ideally those would remain populated even though the rest were cleared. I have them set to read only if that helps.
2. Save and Finish Later Button - a button that will save the user's progress and returns the user to their homepage.

3. Submit Button - a button that checks a checkbox, saves the record, and then returns the user to their home page.

4. Cancel Button - I suppose while I am asking, a button that cancels he record and redirects the user back to their homepage would be nice as well.

------------------------------
Chris Swirtz
------------------------------
This topic has been closed for replies.

  • Quickbase Alumni
  • May 18, 2022
How does the user arrive on this form to create the new record? Are they getting there from another related table with an Add button or are they just on the table itself and adding a record directly there?

When on the create record screen nothing exists yet, not even the record itself. So if the user refreshed the page it should delete any additions they did. If the fields you mentioned default to certain values their default should be set too.

The submit button may not work as you expect it to assuming you are wanting it to check a checkbox that is on that same record. Before the record is saved initially it does not exist so it may not be possible to check a box on that record first before saving it. You would need to save the record, then go back to it and make the change and save it again. This could possibly be done with an Action or a Pipeline depending on the triggers you can use.

For cancelling you could just set the button to take the users back to the app home page which should result in them seeing the home page that their role is set up for.