chrisblakley / Nebula

Nebula is a WordPress theme framework that focuses on enhancing development. The core features of Nebula make it a powerful tool for designing, developing, and analyzing WordPress websites consistently, yet its deliberately uncomplicated code syntax also serves as a learning resource for programmers themselves.
https://nebula.gearside.com
GNU General Public License v3.0
144 stars 36 forks source link

How can the JS Form Flow data be sent to the PHP CF7 capture data without a hidden form field? #2282

Closed chrisblakley closed 7 months ago

chrisblakley commented 7 months ago

The form Nebula flow data in forms.js us super useful in Google Analytics so I'd love to have it in the CF7 submission tables– especially for invalid submissions. How can this be done without needing a hidden field?

chrisblakley commented 7 months ago

I got this working by dynamically adding the hidden field without needing a WP content manager to add a hidden field shortcode to the form (which was what I originally wanted to avoid). This is working and it is incorporated into the "caution" check on the form detail output as well!