I am assigning the date time field to the below format using Javascript variable
var d=dueMonth + "/" + NWF$("#" +POSDATE).val() + "/" + currentyear;
NWF$("#" +DateTime).val(d);
then its not saving in the form
I am assigning the date time field to the below format using Javascript variable
var d=dueMonth + "/" + NWF$("#" +POSDATE).val() + "/" + currentyear;
NWF$("#" +DateTime).val(d);
then its not saving in the form
Try your_ctrl.trigger("focusout") or NWF.FormFiller.Functions.ProcessOnChange(your_ctrl);
could you please explain briefly
I want to assign this value to the date time field
When you assign a value by javascript to a Nintex Forms control, value is not saved to connected item or variable.
To save the value, control have to be triggered by Javascript:
ar d=dueMonth + "/" + NWF$("#" +POSDATE).val() + "/" + currentyear;
NWF$("#" +DateTime).val(d);
NWF$("#" +DateTime).trigger("focusout");
or
NWF.FormFiller.Functions.ProcessOnChange(NWF$("#" +DateTime));
Enter your username or e-mail address. We'll send you an e-mail with instructions to reset your password.