I have a button which takes in a bunch of field values and uses them to print a label. My only solution right now to pass variables from that page to the script is to put them as part of the formula as seen below. Is there a better way to do this?
Formula:
"javascript: "
&"var dbid = '" & [_DBID_Example] & "';"
&"var recordID = '" & [Record ID#] & "';"
&"var appToken = '" & [AppToken] & "';"
&"var mfgDate = '" & [Date Created] & "';"
&"var serialNum = '" & [Serial Number] & "';"
&"var recordID = '" & [Record ID#] & "';"
&"var name = 'Example';"
& [script] & "PrintLabel.js" & [/script]
Sign up
Already have an account? Login
Login to the community
Login with Quickbase US – quickbase.com Login with Quickbase EU – quickbase.eu
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.