sure... I am using a variation of something you suggested in another post. btw... the link works to change the data but I don't know how to use the $buttonLabel?
var text nextStatus =
Case( [Related status]
,13,"16"
,16,"14"
);
var text buttonLabel =
Case( [Related status]
,13,"Update Status 'In Warehouse'"
,16,"Update Status 'Ready For Pickup'"
);
var text URL = URLRoot()
& "db/bn6bxjm9t?a=API_EditRecord&rid=" & [Record ID#]
& "&_fid_23="& $nextStatus
& "&apptoken=dwnt9wipc3cvfcg6nvd3ba97ps4";
If($nextStatus > ""
, "javascript:" &
"$.get('" &
$URL &
"',function(){" &
"location.reload(true);" &
"});"
& "void(0);"
)