After a ridiculous number of hours testing and debugging, I have failed to find any work-around to handle the following objective:
With the case of a two-page form, built with a mix of single line fields and hidden fields - and a single HTML block field… All three types of fields are configured on page two with merge tags (for single line fields tag is in default, for HTML field in contents).
My plugin is enabled with both:
I have confirmed the following process flow behavior :
As expected, at the initial form’s page rendering, the actions do properly call the registered filter gform_ call-backs, and correctly populate the field’s values of the entire form (all pages) with the values returned by the call-backs (as seen in page’s source of my browser, and in debugging logging data on the server).
Proceeding to “Next” page of the form however, we do not see calls made to the two functions for the non HTLM block fields, and the browser receives the same HTML source received for page one. But we DO get call-backs, and correctly populated merge tag substitution for the tags in the HTML field’s content !
Is this expected behavior ?
Is there some work-around for this issue ?