Is it possible to show just the...

User 2751608 Photo


Registered User
30 posts

I trying to figure out if its possible to show just the confirmation message after the form is submitted in a popup.

Thanks
User 187934 Photo


Senior Advisor
20,271 posts

If I'm understanding what your looking for, one way to do this would be to also put the form in a popup.
I can't hear what I'm looking at.
It's easy to overlook something you're not looking for.

This is a site I built for my work.(RSD)
http://esmansgreenhouse.com
This is a site I built for use in my job.(HTML Editor)
https://pestlogbook.com
This is my personal site used for testing and as an easy way to share photos.(RLM imported to RSD)
https://ericrohloff.com
User 2751608 Photo


Registered User
30 posts

Thanks but If I put the entire form in popup would I be able to still integrate it in my web page without using the iframe as I need to pass some hidden values to the form from the web page
User 187934 Photo


Senior Advisor
20,271 posts

You can pass variables to an iframe.
I can't hear what I'm looking at.
It's easy to overlook something you're not looking for.

This is a site I built for my work.(RSD)
http://esmansgreenhouse.com
This is a site I built for use in my job.(HTML Editor)
https://pestlogbook.com
This is my personal site used for testing and as an easy way to share photos.(RLM imported to RSD)
https://ericrohloff.com
User 2751608 Photo


Registered User
30 posts

Thanks for this. Appreciate it
User 2751608 Photo


Registered User
30 posts

any quick example showing how to pass hidden input value to the hidden field in the form inside the iframe.

on my main page I have hidden input field called cname like

<input type="hidden" name="cname" id="cname" value="dynamically generated customer name" />

and in my form I have a hidden field like

<input type="hidden" name="customer-name" value="need to insert the customer name from cnanme" />

Thanks

User 187934 Photo


Senior Advisor
20,271 posts

Here's one way.
Put this at the top of your form iframe page and your myformname.html.
<?php $value = $_GET['id'];?>

Set your iframe code up like this.
<iframe height="1597" style="border:none; background:transparent; overflow:hidden; width:100%;"
id="fb_iframe" src="myformname/myformname.html?id=<?php echo $value ;?>">
</iframe>

Then on your myformname.html you can echo the $value.
<?php echo $value ;?>

There's also this way.
http://www.coffeecup.com/forums/web-for … post238802
I can't hear what I'm looking at.
It's easy to overlook something you're not looking for.

This is a site I built for my work.(RSD)
http://esmansgreenhouse.com
This is a site I built for use in my job.(HTML Editor)
https://pestlogbook.com
This is my personal site used for testing and as an easy way to share photos.(RLM imported to RSD)
https://ericrohloff.com

Have something to add? We’d love to hear it!
You must have an account to participate. Please Sign In Here, then join the conversation.