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

Moderator: ArturoRobles

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.
By kleung
#829578
Hi,

Grateful if I can be advised how to get all the grid IDs in a dynaform by javascript. The result can be an array of grid IDs.

Thousand Thanks

cheers,
Karl
User avatar
By kirkwg
#829579
Hello Karl,

I think there is no direct function/way to get all grid ids. So far
PMFDynaFormFields() retrieves all the properties of each field in a Dynaform. //Use a trigger with this PMF function

https://wiki.processmaker.com/3.2/ProcessMaker_Functions/Dynaform_and_Field_Functions#PMFDynaFormFields.28.29

But once you got all the fields in returned array by this function, you have to parse it out or to filter out all grid fields' id that you want? Good luck..! cheers
By kleung
#829580
Hi Kirk,

Thx for your advice.

I was thinking of obtaining all the grid IDs directly by javascript in a dyanform.
Your advice could be a solution.

Thx again.

cheers,
karl

Learn about all of the exciting new features and f[…]

German translation

Hello Thanks for Sharing this Information https://[…]

hi I need to move case to selected task into the p[…]

Output Document error

Hi, I get this error when creating an output docu[…]