Thanks to
@Mark Shnier (YQC) who has posted this in a generic format. See below.
$URLONE
& "&rdr=" & URLEncode($URLTWO)
& URLEncode("&rdr=" & URLEncode($URLTHREE))
& URLEncode(URLEncode("&rdr=" & URLEncode($URLFOUR)))
& URLEncode(URLEncode(URLEncode("&rdr=" & URLEncode($URLFIVE))))
& URLEncode(URLEncode(URLEncode(URLEncode("&rdr=" & URLEncode($URLSIX)))))
& URLEncode(URLEncode(URLEncode(URLEncode(URLEncode("&rdr=" & URLEncode($URLSEVEN))))))
I think to stay on the form in edit mode you need to use the API_GenAddRecordForm". But perhaps someone else may be able to confirm or explain the different add record apis. So in your case, this is untested but:
var text URLONE =
URLRoot() & "db/"& Dbid() & "?a=API_EditRecord&rid="& [Record ID#] &
"&_fid_214=Extended";
var text URLTWO =
URLRoot() & "db/"& [_DBID_WORKFLOW] & "?a=API_GenAddRecordForm"&
"&_fid_9=" & URLEncode ([Record ID#])&
"&_fid_6=CAR Due Date Extension" &
"&_fid_8=IEP CAR due date extended" ;
$URLONE
& "&rdr=" & URLEncode($URLTWO)
------------------------------
Michael Tamoush
------------------------------