问题
I am trying to make a contract in Google App Maker. This contract features text boxes for people to enter their names. The issue I ran into is that it's not enough to just add the person to a SQL database, but there needs to be solid digital evidence of the person signing the contract.
Using 'ctrl' + 'p' on the appmaker script messes up the formatting of the page.
I see that there is an appmaker sample of how to create a PDF, however, this just creates a new document and then adds text to it. There is a lot of text in the contract and it is specifically formatted, so typing that up in a Google Doc through javascript would take hours.
Does anyone with experience with appmaker know of an easier method? Or is the one I found really the best?
回答1:
Here is what I ended up doing...
Create a template google document with a certain identifier {} in places where information must be loaded into (ex. name, address, phone number...)
In appmaker, create a script which read the contract and filled out all the identifiers {} with the relevant information
In appmaker, there run the command to turn a google document into a pdf
In appmaker, email that pdf to the relevant person
来源:https://stackoverflow.com/questions/52919137/google-app-maker-creating-a-contract-methods-to-use