Skip to main content
Question

formula URL to replicate the QB cancel button

  • February 5, 2019
  • 0 replies
  • 124 views

We have a form that has a button that links the user to an external page out of QuickBase.  If the user decides to click that button then we want the form to be cancelled and a new record not created.  
This topic has been closed for replies.

Forum|alt.badge.img+17
  • Community Moderator
  • February 6, 2019
Hi Jeff,

If you are running into the experience that when clicking a button that links away the record is being saved one thing to check is the advanced settings for the table. One of the options covers the save behavior "Save parent record automatically when a child record is created", sometimes with a linkaway if that option is checked Quick Base can autosave the record instead of cancelling out. If you try turning off that checkbox you might get the behavior you are looking for without needing a different formula function. 

If you make a rich text field, instead... you can make it into sort of your own button, and can add JavaScript to it to behave like the cancel button... I'm currently trying to figure out something similar which will act like a save button and then run other JavaScript as well:


"<div class='Tall Vibrant' onclick=$('#cancelButton').click();>Visible text here</div>"