Populating values for checkbox every time a form is loaded by Popup Maker button

Hello all,

I have been trying to add values in Checkboxes dynamically.

And yes, I can do that with few hooks but the thing is it has to happen continuously.

I mean, for example, a page has a list of items say Apple, Banana, Carrot, Pear… and the user has not selected any items yet, therefore, the checkbox ‘Fruit’ in the gravity form does not show anything yet there.

As the user select an item say Banana and Carrot from the page, then he clicks on a button (using Popupmaker) that displays the gravity form. It will then show items ‘Banana and Carrot’ in the Fruit Checkbox dynamically.

I think this can be do-able if I re-render the form; in other words, I would like to know how I can make ‘gform_pre_render’ to be triggered every time I click on the button that pops up the form.

It looks like Support has already responded to your support ticket for the same issue. I will leave this open in case anyone has anything they can add.