The Community forums are being phased out in favor of a new Slack group.
Add your email address below to get an invitation to join the community slack group
How to dynamically add post title as subject in Formidable Pro?
Hello all,
I have the default FP "Contact us" form, I am trying to populate the "Subject" text field with the WordPress Post Title by using Javascript script...
the section of my script that I´m using to try to pull the WP Post Title is: jQuery('input[name="subject"]').val('<?php the_title(); ?>');
this piece of code works well with CF7 but is not working on FP
Is there a workaround to populate the Subject text field of my form with the WP Post Title? the Posts are generated from WP not by FP...
Any Ideas?
March 29, 2018 at 7:32 am
Hi,
Formidable has a built in shortcode for this: [post_title]
Thanks
Chris
Discussion closed.