This is what it gives me
Thank you,
Mike Klausing
------Original Message------
Mike,
SaveAndNextTab.js is a code page. The rest of the code blurb is in a "Formula - Rich Text" field.
Regarding debugging, try the following:
- Make sure your field is "Formula - Rich Text."
- In Rich Text, we're making a button using an anchor element instead of letting QuickBase do it for us through a URL field.
- Your original syntax looks "Formula - URL"ish. That might result in a QuickBase syntax error.
- Hover over the button in QuickBase and look at the bottom left corner of your browser window. This will give you a preview of the code that will execute on click
- This is helpful verifying what QuickBase is actually making with the formula.
- Make sure everything looks correct there. javascript execution in QuickBase is very strict when it comes to no spaces.
- Correct Syntax Result
- Incorrect Syntax Result (special character trimmed everything after "getScript(")
- Open the developer tools of your browser (F12), access the Console, and watch it when you click the button. If there is a JavaScript error or something isn't working as expected, an error will often appear in the console log.
If all else fails, could you attach a screenshot of the syntax error? Is it in the QuickBase field or the JavaScript page? I'm interested to see your solution. Maybe there's an App Setting I'm missing.
Thanks,
------------------------------
Evan Westbrook
PRIME Developer
Harder Mechanical Contractors Inc.
Portland OR
------------------------------