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
#783906
Hello,

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...
mpm
mysqli_free_result() error

Hello good afternoon I am having the same problem[…]

Thanks!

Hi, This user API https://wiki.processmaker.com/[…]

display pdf in panel control

Is there any solution?