Quantcast
Channel: WordPress.org Forums » [Contact Form 7] Support
Viewing all articles
Browse latest Browse all 49175

Using wpcf7_before_send_mail to save data cf7 form in to a table

$
0
0

Replies: 0

Hi,
Sorry,I am a beginner and i need, your help.
I created three CF7 forms which contain some fields in common.
When I submit two of these forms, the fields are stored in a mysql database table. For this I use the function: add_action( ‘wpcf7_before_send_mail’, ‘save_database’ ).
This is my doubt: The fields of two forms that i want to record in the database may have the same name and consequently, the same shortcode (Ex: [course_name] )? I would appreciate your feedback as soon as possible. Regards.


Viewing all articles
Browse latest Browse all 49175

Latest Images

Trending Articles



Latest Images

<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>