Is there a means to print a form when it is saved?

  • 0
  • 1
  • Question
  • Updated 9 months ago
  • Answered
Is there a means to print a form when it is saved? Or is it possible to add a PRINT button to the form so it can be printed before it is saved?
Photo of Christopher Summers

Christopher Summers

  • 170 Points 100 badge 2x thumb

Posted 9 months ago

  • 0
  • 1
Photo of QuickBaseCoach App Dev./Training

QuickBaseCoach App Dev./Training, Champion

  • 51,346 Points 50k badge 2x thumb
Are you wanting to print while you are still in edit mode?
Photo of Christopher Summers

Christopher Summers

  • 170 Points 100 badge 2x thumb

Yes, while editing and also when adding a record.

Photo of Evan Martinez

Evan Martinez, Community Manager

  • 8,774 Points 5k badge 2x thumb
Hi Christopher,

There is not a native option to add a print button directly to the Add or Edit form of a record. The reason for this is that the record hasn't been placed in that state yet and saved to Quick Base. Once a record is saved then it is available through the native print function to be pushed out as a printable record. 
Photo of Gaurav Sharma

Gaurav Sharma

  • 5,756 Points 5k badge 2x thumb
Hey Chris,

Yes, it can be easily done by a button.
Create a Formula-URL button and paste the below code into your formula.

URLRoot() & "db/" & Dbid() & "?a=printr&rid=" & [Record ID#]
Through this button, you can easily print a record during adding or editing a record.

Please let me know if you need any further help.

Thanks,

Gaurav
(Edited)
Photo of QuickBaseCoach App Dev./Training

QuickBaseCoach App Dev./Training, Champion

  • 51,256 Points 50k badge 2x thumb
Gaurav, but for some reason, Christopher wants to print before the record is saved.
Photo of Gaurav Sharma

Gaurav Sharma

  • 5,756 Points 5k badge 2x thumb
Gotcha. Sorry, I didn't read the question carefully.
Photo of Christopher Summers

Christopher Summers

  • 170 Points 100 badge 2x thumb

The staff who are completing the records need to print it so it can be faxed when requested.  A easy to see print button will help them.

Photo of QuickBaseCoach App Dev./Training

QuickBaseCoach App Dev./Training, Champion

  • 50,048 Points 50k badge 2x thumb
Gaurav's solution will work after you save the record.
Photo of Christopher Summers

Christopher Summers

  • 170 Points 100 badge 2x thumb
I will pass on to the group that they need to "Save and Keep Working" when they want to print.
Photo of QuickBaseCoach App Dev./Training

QuickBaseCoach App Dev./Training, Champion

  • 50,914 Points 50k badge 2x thumb
I'm curious about your use case that you want to allow users to print before they have finished entering all the data for the record.
Photo of Ⲇanom the ultimate (Dan Diebolt)

Ⲇanom the ultimate (Dan Diebolt), Champion

  • 26,272 Points 20k badge 2x thumb
Maybe it looks more like a filled in paper form and the fax recipient is accustomed to this format? 

Anyway it can be done with script if that is what the OP wants.
Photo of Christopher Summers

Christopher Summers

  • 170 Points 100 badge 2x thumb

The record is being saved.  Based on the end user request, the staff just wants a bigger, more apparent button to print.  I had shown them the print icon on the tool bar, but I think they like something that stands out.

Photo of QuickBaseCoach App Dev./Training

QuickBaseCoach App Dev./Training, Champion

  • 49,512 Points 20k badge 2x thumb
OK, so you have your formula now from Gaurav and you can choose to color the button to make it stand out.
Photo of Christopher Summers

Christopher Summers

  • 170 Points 100 badge 2x thumb
Yes, exactly.  I had set up notifications to email addresses, but some of the recipients do not use emails to receive the forms.  So we had to revert to sending all requests via fax.  Its like a bunch of lambos behind a Tercel on a two lane highway.  Our process is based on the lowest common denominator.
Photo of Christopher Summers

Christopher Summers

  • 170 Points 100 badge 2x thumb
YEs and it works great.  Thanks for the assistance.