Forum Discussion
_anomDiebolt_
11 years agoQrew Elite
You are testing if you are on the grid edit page:
if (/dlta=mog/i.test(querystring)) {
when I think you intend to test if you are on an edit record page:
if(/a=er/i.test(querystring)) {
Note this logic is used in parallel with the form definition that sets whether or not the [-] field is included on the form in the first place. You may or may not need to include the if statement if you otherwise prevent the [-] field from being on the form/report.
if (/dlta=mog/i.test(querystring)) {
when I think you intend to test if you are on an edit record page:
if(/a=er/i.test(querystring)) {
Note this logic is used in parallel with the form definition that sets whether or not the [-] field is included on the form in the first place. You may or may not need to include the if statement if you otherwise prevent the [-] field from being on the form/report.