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 Kamil123
I have problem when I use .addGridRow() to add new line in the grid!
The problem is NO other line executed after .addGridRow() statemen!

For example, the alert below is not executing, Please advise :(
Code: Select all
var dynaformOnload = function() {
alert ("hello word");

Hello Kamil123,

You can use this example:
When the user clicks on the "addAccount" button, add a new row to a grid named "AccountsGrid" and then insert the value of the "accountName" and "accountNo" fields into the "name" and "no" grid fields in the new row:

getField("addAccount").onclick = function() {
newRowNo = Number_Rows_Grid("accountsGrid", "name") + 1;
getGridField("accountsGrid", newRowNo, "name").value = getField("accountName").value;
getGridField("accountsGrid", newRowNo, "no").value = getField("accountNo").value;

Best regards, Ricardo.

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[…]