Wordpress & PHP - How to add extra code to SUBMIT BUTTON in forms

0

I have problem. I want to add extra code to submit button in WORDPRESS Gravity Forms. In my form I have inputs, textareas and HTML snippet. In HTML snippet I have "editable" content:

<p> text text text text <div contenteditable="true">client text to change</div> text text</p>


... and when client clicks SUBMIT BUTTON then form is generating PDF from FORM CONTENT and send to an email. Generated PDF doesnt contain client's custom text - just "client text to change" - content putted to "contenteditable" by me in code. And this is my question: Why generated PDF doesnt containt "contenteditable" content given by client? Meybe this is solution: add extra code to Gravity Forms SUBMIT BUTTON to pre save "contenteditable" content to database and then submit button -> generate pdf.

0

Musisz pokazać więcej kodu, bo z tego co napisałeś nic się nie da wywróżyć.

1 użytkowników online, w tym zalogowanych: 0, gości: 1