Share ideas, ask questions, and get feedback about developing for ProcessMaker

Moderators: ArturoRobles, ArturoRobles

Forum rules: Please post new questions under "Developing processes & programming" for ProcessMaker 2 or 3.
By HelenG

I try to change the format of one of my date fields with the code from ... alue.28.29 and it doesn't work.
I don't know where is the mistake...
I appreciate any help.

function twoDigits(num) {
return (num < 10 ? "0" : "") + num;
function change(){

var d = new Date(getField("start_date").value);
var s = twoDigits(d.getMonth()) + '-' + twoDigits(d.getDate()) + '-' + d.getFullYear();
getField("end_date_of_trial").value = s;

leimnud.event.add(getField("start_date"), 'change', change);

Thanks in advance.

Maybe try increasing your thread stack size? Seems[…]

I use PM 3.4. Android push works while IOS push do[…]

[quote=ziadeh post_id=823031 time=1550759948 user_[…]

I have to support reports in processmaker 3.4. A s[…]