donwload pdf file after contactform 7 submisson

Try the following and replace [DOMAIN] by your own domain. //contact form 7 Download white paper// add_action( ‘wp_footer’, ‘redirect_cf7’ ); function redirect_cf7() { ?> <script type=”text/javascript”> document.addEventListener( ‘wpcf7mailsent’, function( event ) { if ( ‘4265’ == event.detail.contactFormId ) { // Sends sumissions on form 4265 to the first thank you page var pdfLink = ‘[DOMAIN]/wp/wp-content/uploads/2018/06/file.pdf’; … Read more

Related Drop down list

You can do this with Conditional Contact Form 7 plugin, for each values in your first dropdown you need to create a corresponding dropdown field, `[select first-dropdown “chose a value” “value 1” “value 2”] [group dropdown-value-1] [select value-1-dropdown “chose option for value 1” “value 1a” “value 1b”] [/group] [group dropdown-value-2] [select value-2-dropdown “chose option for … Read more

Hata!: SQLSTATE[HY000] [1045] Access denied for user 'divattrend_liink'@'localhost' (using password: YES)