It can be done more simply
(fid [User Acceptance User]) matches another field (fid [Request User]).
var text URL =
URLRoot() & "db/"
& Dbid() & "?a=API_EditRecord&rid=" & [Record ID#]
& "&apptoken="&URLEncode([validapptoken])
& "&_fid_142=1"
& "&_fid_155="&URLEncode(Now())
& "&_fid_182="& URLEncode(UserToName(User()))
& IF([User Acceptance User] = [Request User],
"&_fid_143=1"
& "&_fid_161="&URLEncode(Now())
& "&_fid_184="& URLEncode(UserToName(User()));
var text ReDisplay=
URLRoot() & "db/"
& Dbid()
& "?a=dr&rid="
& [Record ID#];
$URL
& "&rdr=" & URLEncode($ReDisplay)
I'm not 100% sure I have the count of the (((( and ))) brackets matching in my code.------------------------------
Mark Shnier (YQC)
Quick Base Solution Provider
Your Quick Base Coach
http://QuickBaseCoach.commark.shnier@gmail.com
------------------------------