'Adding Dynamic HTML from Page to Gravity Form field
This is a crazy request that I'm hoping I can get an answer to.
I have a product configurator that displays a table of all the options the customer chose in a div tag. The HTML is
<div class="hhpt-liveSummary"></div> and the rest inside the div tag is dynamically populated.
The issue I'm having is getting that populated HTML on the page to go into a form field (I am using Gravity Forms for Wordpress).
This tutorial works great - for non dynamically populated html.
https://typewheel.xyz/capture-post-content-gravity-form-field/
I followed the tutorial above to a "T" and instead of the table data that shows on the page from the div tag posted above, all I get in the text box is the
TLDR; I need to find a way to get dynamically populated HTML into a text field of any sort.
Sources
This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.
Source: Stack Overflow
| Solution | Source |
|---|
