Forum Discussion
QuickBaseCoachD
7 years agoQrew Captain
No problem
var text URL = URLRoot() & "db/" & Dbid() & "?act=API_EditRecord&rid=" & [Record ID#]
& "&_fid_352=" & URLEncode("true")
& "&_fid_317=" & URLEncode ([Rate - Cost - GRI Total])
& "&_fid_163=" & URLEncode ([Rate - Cost - GRI Total]);
IF([Another Field] = "X",
"javascript:" &
"$.get('" &
$URL &
"',function(){" &
"location.reload(true);" &
"});"
& "void(0);"
)
var text URL = URLRoot() & "db/" & Dbid() & "?act=API_EditRecord&rid=" & [Record ID#]
& "&_fid_352=" & URLEncode("true")
& "&_fid_317=" & URLEncode ([Rate - Cost - GRI Total])
& "&_fid_163=" & URLEncode ([Rate - Cost - GRI Total]);
IF([Another Field] = "X",
"javascript:" &
"$.get('" &
$URL &
"',function(){" &
"location.reload(true);" &
"});"
& "void(0);"
)