Forum Discussion
StephenStephen
9 years agoQrew Assistant Captain
Matthew, (and Eric) yes, thanks! I'm completely uneducated on Javascript and even when I look things up on the 'net I find that I'm struggling with syntax. Thank you for helping me apply what eric did to the field. Is there some sort of resource regarding syntax for basic stuff like this you might suggest to help newer-users like me who have some programming knowledge (enough to be dangerous) but are unfamiliar with syntax and other applications of the details?
I am doing some online javascript tutorials to learn the basics but still hope to find a reference on how to apply them specifically to quickbase.
I am doing some online javascript tutorials to learn the basics but still hope to find a reference on how to apply them specifically to quickbase.
_anomDiebolt_
9 years agoQrew Elite
There are 100 of script examples in this application that were created in answer to questions or as part of a demo:
Pastie Database
https://haversineconsulting.quickbase...
Most of the scripts have placeholders or parameters for dbid's and application tokens while fids and other data are typically hardcoded in the script. Generally you can modify these variables to match you values and keep the rest of the script unchanged. To get script to work in QuickBase you have to do some advanced things (like place all your code within a closure) but luckily the advanced parts are boilerplate that does not need to be changed. I would encourage you to learn JavaScript but I would work from an existing script as there are some best practices used to make the script work well within QuickBase.
Pastie Database
https://haversineconsulting.quickbase...
Most of the scripts have placeholders or parameters for dbid's and application tokens while fids and other data are typically hardcoded in the script. Generally you can modify these variables to match you values and keep the rest of the script unchanged. To get script to work in QuickBase you have to do some advanced things (like place all your code within a closure) but luckily the advanced parts are boilerplate that does not need to be changed. I would encourage you to learn JavaScript but I would work from an existing script as there are some best practices used to make the script work well within QuickBase.