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

Moderator: amosbatto

Hi Guys
I have a Grid, named as Grid1 on the first Dynaform. User write the Invoice Number in 'text1' in this grid.
On the second form, I have another Grid named as Grid2, which has many fields. On one of those fields, I had to import data from text1, so I have created a trigger, which is doing that.

However, business now wants the word 'Payment' to show and then the data from text1. EG. Payment 123
How do i do this.
See my trigger below.

@=grid2 = array(); //create a new empty grid
for ($i = 1; $i < count(@=grid1)+1; $i++) {
@=grid2[$i] = array(
'text2' => @=grid1[$i]['text1'],//Invoice Number
Do it this way:
Code: Select all
@=grid2 = array(); //create a new empty grid

for ($i = 1; $i <= count(@=grid1); $i++) {
   @=grid2[$i] = array(
      'text2' => 'Payment ' . @=grid1[$i]['text1']     //Invoice Number
Send for clarification

Cost: Will you be using PM entrerprise or open sou[…]

SMS Gateway

Hello natesh, I have a Get ready to use integrate[…]

delete information after CSV export

thanks for your attention, i have some change on y[…]

Thanx again amosbatto... I'll re-check file permis[…]