Forum Discussion
JordanBeatty1
8 years agoQrew Captain
I am struggling to get this solution to work,
I am currently using
var text NewCheckboxValue = If([Priority]="New","0","1");
var text URL= URLRoot() & "db/" & [_DBID_TASK] & "?act=API_EditRecord"
& "&rid=" & URLEncode ([Record ID#])
& "&_fid_32=" & $New Priority;
"javascript:" &
"$.get('" &
$URL &
"',function(){" &
"location.reload(true);" &
"});"
& "void(0);
I am currently using
var text NewCheckboxValue = If([Priority]="New","0","1");
var text URL= URLRoot() & "db/" & [_DBID_TASK] & "?act=API_EditRecord"
& "&rid=" & URLEncode ([Record ID#])
& "&_fid_32=" & $New Priority;
"javascript:" &
"$.get('" &
$URL &
"',function(){" &
"location.reload(true);" &
"});"
& "void(0);
- GauravSharma38 years agoQrew CommanderReplace "New" with True.
- GauravSharma38 years agoQrew CommanderUse this:
var text NewCheckboxValue = If([Priority]=True,"0","1");
var text URL= URLRoot() & "db/" & [_DBID_TASK] & "?act=API_EditRecord"
& "&rid=" & URLEncode ([Record ID#])
& "&_fid_32=" & $NewCheckboxValue;
"javascript:" &
"$.get('" &
$URL &
"',function(){" &
"location.reload(true);" &
"});"
& "void(0); - JordanBeatty18 years agoQrew CaptainThis did the trick, thank you guys!
- GauravSharma38 years agoQrew CommanderReplace that with the Dbid()
- GauravSharma38 years agoQrew CommanderCheers!
- KhoiNguyen8 years agoQrew MemberWhat did you replace with Dbid()?