Questions and discussion about using ProcessMaker: user interface, running cases & functionality

Moderator: amosbatto

By HeshanKaru1994
Code: Select all
console.log("switch E");
            var leasePeriodFullDays = parseInt(leasePeriodMonth*30)+parseInt(leasePeriodDays);
            var ExpiryNewDate = new Date(commencementDate);
            ExpiryNewDate.setDate( ExpiryNewDate.getDate()+ parseInt(leasePeriodFullDays));
Im using this code to set the date value from variables.but its not setting
User avatar
By amosbatto
This won't work:

You need use this format:
$("#dateOfTermination").setValue("YYYY-MM-DD HH:MM:SS");
See: ... _Datetimes

Maybe if you explain what you are trying to do, I can help you.

Capture.PNG I have use this javascript code to ad[…]

Having a business, especially when it involves tra[…]

The condition is not workable

Hi there, Recently I've encountered the amount wh[…]

Yes i'm using vue js to load the data.