What is wrong with following event ajax call ffrom form on chanhe od date field

What is wrong with following event ajax call ffrom form on chanhe od date field ?

window.FormAPI.evaluateServerSideExpression(function(fn){
          window.FormAPI.setValue("number41",fn);
},"=calworkdays(FormAPI.getValue("date1").id, FormAPI.getValue("date2").id])");

OriginalPostID-23033

OriginalPostID-23033

  Discussion posts and replies are publicly visible

Parents
  • Hi Eduardo,
    I tested following rule on change :
    FormAPI.evaluateServerSideExpression(function(e){window.FormAPI.setValue("number41",e);},"=calworkdays(" + FormAPI.getValue("date1").id + "," + FormAPI.getValue("date2").id +")");

    and exception appear again.
    We have Appian version 6.6.0 installed and I copy plugin version 1.6.0
    and it seams that i have problem with Advanced Form Utility.
    Can you suggest me whats wrong ?
Reply
  • Hi Eduardo,
    I tested following rule on change :
    FormAPI.evaluateServerSideExpression(function(e){window.FormAPI.setValue("number41",e);},"=calworkdays(" + FormAPI.getValue("date1").id + "," + FormAPI.getValue("date2").id +")");

    and exception appear again.
    We have Appian version 6.6.0 installed and I copy plugin version 1.6.0
    and it seams that i have problem with Advanced Form Utility.
    Can you suggest me whats wrong ?
Children
No Data