1

I just want to save a simple SP Form via another Button (I need to set some Workflow parameters first).

submitForm = function() {   
    if (oldStateSTR != csCustomForms.fieldsARY.LabelProcessStateInternal.inputOBJ.val() )
    {
        csCustomForms.fieldsARY.WorkflowState.inputOBJ.val("Pending");
    }
    $('[id$=SaveItem]').trigger("click");   
}

This worked perfectly for another project (same farm). But now I only got the JS error Access to strict mode caller function is censored

Can I simply disable the strict mode (what ever that is)?
thanks a lot...
-dave

1
  • I come from here. Can you tell us if you found a workaround? Thank you
    – Sergio
    Jan 24, 2018 at 15:42

0

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Browse other questions tagged or ask your own question.