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

Moderator: amosbatto

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

I try to fill values in a grid unsing this code:
Code: Select all
var grd = $("#progrid").find(".pmdynaform-grid-row");
  var jahr = $("#projahr").getValue;
  var monat = $("#promonat").getValue;
  for (i=1; i <= grd.length; i++) 
    document.getElementById("form[progrid]["+i+"][sel_jahr]").value = jahr;
    document.getElementById("form[progrid]["+i+"][sel_monat]").value = monat;
But in both fields (sel_jahr and sel_monat) I get this message:
function (row,col) {"use strict"; var field = getFieldById(this.attr("id")) || null, val = null; if (field) { if (val === null && field.model.get("type") === "grid" && row !== undefined && col !== undefined){ val = field.getValue(row, col); } if (val === null && field.getData ){ val = field.getValue(); } if (val === null || val === undefined) { if (field && field.getLabel) { val = field.getLabel(); } } }else{ null; } return val; }
Any ideas what was going wrong?
Thanks for any suggestions...

Hi, Is there any way to show my custom column only[…]

Send for clarification

Hi, I know this is an old post but i could not fin[…]

add dropdown to search process

Please replay if there is any solution!!!!

Amosbatto, is down.

Hi Amos, I appreciate you setting up a tips and t[…]