Questions and discussion about developing processes and programming in PHP, JavaScript, web services & REST API.

Moderator: amosbatto

Forum rules: Please search to see if a question has already asked before creating a new topic. Please don't post the same question in multiple forums.
#796119
hi all,

If a grid contain a file component, the result array is not correctly populate.
I can see the new variable like grid_row_file in debug but he grid variable is empty

Steps To Reproduce

a simple dynaform + a grid + a component file in the grid.
Put the process in debug.
Launch task.
populate the grid.
submit and look the debug for the gridvar

bug 23780
Attachments
Sélection_278.png
Sélection_278.png (36.89 KiB) Viewed 439 times
#796142
Hi,

Note: If a grid containing a file field doesn't have an associated array variable, then any selected files in the grid will not be saved when the Dynaform is submitted.

Unfortunately, ProcessMaker currently does not save the filenames of the selected files in the grid's case variable when a grid containing files is submitted.

Please check this link: http://wiki.processmaker.com/3.2/File_c ... s_in_grids

Thanks

It is working. Thanks a lot.

Hi, I saw an old topic in this forum with this err[…]

Grid, difference between 2 dates

Hello, You could use this code instead of yours: […]

hello, I have one dynaform with grid. In grid the[…]