Forum Discussion
MarkShnier__You
Qrew Legend
6 years agoCan you post the code for your button and then I will add the extra code to land the user in edit mode?
------------------------------
Mark Shnier (YQC)
Quick Base Solution Provider
Your Quick Base Coach
http://QuickBaseCoach.com
markshnier2@gmail.com
------------------------------
------------------------------
Mark Shnier (YQC)
Quick Base Solution Provider
Your Quick Base Coach
http://QuickBaseCoach.com
markshnier2@gmail.com
------------------------------
- EndyLu6 years agoQrew Traineesure thing, this is my code
var text Declined = URLRoot() & "db/" & Dbid() & "?act=API_EditRecord&apptoken=dghxdxrc9kgh4qbn746c7dje9wds&rid="&[Record ID#]&"&_fid_6=Declined";
"javascript:{"&
"fetch('"& $declined &"');"&
"location.reload('"& $Declined &"');"&
"}"
------------------------------
Endy Lu
------------------------------- MarkShnier__You6 years ago
Qrew Legend
Try this. The only issue will be where you want to land the user after the record is saved.
var text Declined = URLRoot() & "db/" & Dbid() & "?act=API_EditRecord&apptoken=dghxdxrc9kgh4qbn746c7dje9wds& rid="&[Record ID#]&"&_fid_6=Declined";
var text EditMode = URLRoot() & "db/" & Dbid() & "?a=er&rid=" & [Record ID#];
$Declined
& "&rdr=" & URLEncode($EditMode)
------------------------------
Mark Shnier (YQC)
Quick Base Solution Provider
Your Quick Base Coach
http://QuickBaseCoach.com
markshnier2@gmail.com
------------------------------- EndyLu6 years agoQrew Traineeawesome thanks, Mark! It works
------------------------------
Endy Lu
------------------------------