WoolworthsSupp1
5 years agoQrew Member
Javascript will retire soon on end of march for Rich text fields and formula fields.
Hi All,
I have using the below formula for a URL field to provide the approvals in some other text field.
var text URL = URLRoot() & "db/" & Dbid() & "?act=API_EditRecord&rid=" & ToText([Record ID#])
& "&_fid_33=Yes";
If(
[CM Recommends]<>"Yes"
and
([CM] = User()
or [Recorder]=User()
or [Current User - Allowed to Approve All DVR Items?]),
"javascript:" &
"$.get('" &
$URL &
"',function(){" &
"location.reload(true);" &
"});"
& "void(0);"
)
Now quickbase announced from April onwards we cannot use java script in QB apps except in code pages.
Kindly help me how to replace the above code without java script.
Regards,
wowsupport
------------------------------
Woolworths Support
------------------------------
I have using the below formula for a URL field to provide the approvals in some other text field.
var text URL = URLRoot() & "db/" & Dbid() & "?act=API_EditRecord&rid=" & ToText([Record ID#])
& "&_fid_33=Yes";
If(
[CM Recommends]<>"Yes"
and
([CM] = User()
or [Recorder]=User()
or [Current User - Allowed to Approve All DVR Items?]),
"javascript:" &
"$.get('" &
$URL &
"',function(){" &
"location.reload(true);" &
"});"
& "void(0);"
)
Now quickbase announced from April onwards we cannot use java script in QB apps except in code pages.
Kindly help me how to replace the above code without java script.
Regards,
wowsupport
------------------------------
Woolworths Support
------------------------------