Forum Discussion
QuickBaseCoachD
Qrew Captain
Justin, I see that you found my app in the Exchange
Here is what you need
var text URL =
URLRoot() & "db/" & Dbid () & "?act=API_EditRecord&rid=" & [Record ID#]
& "&_fid_55=1";
"javascript:" &
"$.get('" &
$URL &
"',function(){" &
"location.reload(true);" &
"});" & "void(0);"
Change 55 to your checkbox fid.
this syntax refreshes the whole page, even when clicked off a child record on an embedded report on form, or on a report.
Here is what you need
var text URL =
URLRoot() & "db/" & Dbid () & "?act=API_EditRecord&rid=" & [Record ID#]
& "&_fid_55=1";
"javascript:" &
"$.get('" &
$URL &
"',function(){" &
"location.reload(true);" &
"});" & "void(0);"
Change 55 to your checkbox fid.
this syntax refreshes the whole page, even when clicked off a child record on an embedded report on form, or on a report.
QuickBaseCoachD
7 years agoQrew Captain
:) As far as I know the only resource is scraping answers off this forum and saving them. I have an app with a table where I save all my favorite tricks. The only other possible resource is if any of the Quick Base university videos cover it.
If you just want to use the easy javascript, It's basically that code you are using to refresh the page along with this one below which will do the edit, but will not refresh the page. Some times you do not want to refresh the page as it delays the next click and jiggles the screen around on the user, when they have multiple clicks to do.
var text URL = URLRoot() & "db/" & "?act=API_EditRecord&_fid_80=1&rid=" & [Record ID#];
"javascript:" &
"$.get('" &
$url &
"',function(){" &
"$.jGrowl('This Item has been put on PO CANCEL snooze', {life: 5000, theme: 'jGrowl-green'});" &
"});" &
"void(0);
If you just want to use the easy javascript, It's basically that code you are using to refresh the page along with this one below which will do the edit, but will not refresh the page. Some times you do not want to refresh the page as it delays the next click and jiggles the screen around on the user, when they have multiple clicks to do.
var text URL = URLRoot() & "db/" & "?act=API_EditRecord&_fid_80=1&rid=" & [Record ID#];
"javascript:" &
"$.get('" &
$url &
"',function(){" &
"$.jGrowl('This Item has been put on PO CANCEL snooze', {life: 5000, theme: 'jGrowl-green'});" &
"});" &
"void(0);