sure 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
------------------------------
Original Message:
Sent: 11-19-2019 11:30
From: Mark Shnier (YQC)
Subject: Button that can change a field and then go to edit mode
Can 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
Original Message:
Sent: 11-19-2019 11:27
From: Endy Lu
Subject: Button that can change a field and then go to edit mode
I have a declined button where when you press it, the status will be changed to declined. However, I put in a rule where a status cant be declined without a decline reason. Currently, when the button is pressed it will bypass my rule. Is there any way I can make my button change the status to declined and then go to edit mode, so I can choose a decline reason?
------------------------------
Endy Lu
------------------------------