HeatherBryant2
8 years agoQrew Assistant Captain
Autopopulate Date Completed with a formula text field
Hello, I'm using this formula text field to change a text multiple choice field to Completed, as well as change % Complete to 100, and Date Completed to the current date. Everything is working great aside from the Date Completed field not being updated. Any ideas why? Thanks!
var text url =
URLRoot() & "db/" & Dbid() & "?a=API_EditRecord" &
"&rid=" & [Task ID] &
"&apptoken=u8pt65bmk9v8jdrvxhrsdbycgqb" &
"&_fid_12=Completed" &
"&_fid_99=Today()" &
"&_fid_98=100";
"<a class=\"Vibrant Success\" href=\"javascript:" & "$.get('" & $url &
"', function(){" & "location.reload();" & "});" &
"void(0);\">Complete</a>
var text url =
URLRoot() & "db/" & Dbid() & "?a=API_EditRecord" &
"&rid=" & [Task ID] &
"&apptoken=u8pt65bmk9v8jdrvxhrsdbycgqb" &
"&_fid_12=Completed" &
"&_fid_99=Today()" &
"&_fid_98=100";
"<a class=\"Vibrant Success\" href=\"javascript:" & "$.get('" & $url &
"', function(){" & "location.reload();" & "});" &
"void(0);\">Complete</a>