PluginUs.Net - Business Tools for WooCommerce and WordPress

[realize your idea - make your dreams come true]

Support Forum

You need to log-in to create request (topic) to the support

Contact Form 7 field's prepopulated data disappears.

The support doesn work on Saturdays and Sundays, so some Friday requests can be answered on Monday. If you have problems with registration ask help on contact us page please
If you not got email within 24~36 business hours, firstly check your spam box, and if no any email from the support there - back to the forum and read answer here. DO NOT ANSWER ON EMAILS [noreply@pluginus.net] FROM THE FORUM!! Emails are just for your info, all answers should be published only here.
The support doesn work on Saturdays and Sundays, so some Friday requests can be answered on Monday.

Hi,

I am using free version of Woot product table. I created the custom field 'Ask Me' based on the instruction given in documentation.

The problem is, i cannot prepopulate the form fields like how it is done for WPForms. When i click the Ask Me button, poupup appears with contact form 7 with prepopulated data and suddely disappears. I am not sure why it disappears.

Anyone integreted the Contact form 7 in the popup.

Thanks for help.

hello

Please  drop  me  exact  link  to the  issue

Thanks for the reply. I added the url.

Hi,

Just now noticed that there is no way to get the details such as post url, post title or other special mail tags to know about from which page the contact form is filled.  The contact form return the values from the page it is embedded. I understand why these details comes it is because of  the plugin loads the page in iframe. Is there any other option to retreive these details in contact form?

Thanks.

Hello

You have a product ID and you can get all the data (even the product URL) - https://c2n.me/4hEGDwQ.png

In your case, that some script clears the form after loading. And it does not depend on the fact that the form is in a pop-up

For the test, you can try filling out the form with a delay

setTimeout(()=> {

document.getElementById('wpforms-641-field_4').value = '<?php echo addslashes($product->get_title()) ?>';

document.getElementById('wpforms-641-field_2').value = "Hello, give me please more information about the product: <?php echo addslashes($product->get_title()) ?>!";

} ,1000);

Hi,

Fantastic, it works fine after delay. Thanks so much for prompt reply.

The only remaining issue is to get the page url. Currently it pulls the page url of contact form embedded.

Is there any work around to get the page url in which table embedded?

Thanks.

Hello

Please  read  this - https://stackoverflow.com/questions/938180/get-current-url-from-iframe