Still can't get how to pass in a...

User 10077 Photo


Senior Advisor
1,095 posts

Maurice Dykes wrote:

Brian Durfee wrote:
You have to link directly to the form if you want php to execute within the form code.

Are you saying I can't used an embedded form?

I think when you say "embedded" you are referring to using an iframe to view your code.
-- Yes, you can use an iframe.
-- No, you cannot use the snippet of code that WFB gives you to create that iframe.

If you use the code snippet generated by WFB, it does not execute the PHP code. Therefore, you have to put the iframe on your page manually. It would look something like this.
<iframe height="892" style="border:none; background:transparent; overflow:hidden; width:100%;"
id="fb_iframe" src="freeup.html?lic=123">
</iframe>

ASK ME ANYTHING
I provide personalized help for Coffeecup Users including personal or group training for Site Designer, Web Form Builder and more via Zoom.
Email me at support@uscni.org or call 865-687-7698.

Did you know that Web Form Builder can be used for both simple and complicated forms and that it's not limited to the default fonts and buttons? Take a look at a form we developed for WindowTinting.com.
https://forms.windowtinting.com/forms/w … ppingcart/
User 2159832 Photo


Registered User
55 posts

This is the iframe I have...

<iframe width="650" height="524" style="border:none; background:transparent; overflow:hidden;" id="fb_iframe" src="freeup/freeup.html?lic=<?php echo $_GET['lic']; ?>"></iframe>
User 187934 Photo


Senior Advisor
20,193 posts

Is there any errors showing on the server?
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 2159832 Photo


Registered User
55 posts

Eric Rohloff wrote:
Is there any errors showing on the server?


No, I have been keeping an eye on the error logs.

I'm going to create a S-Drive account, publish my form there and see if the free account will let me upload a zip file of the test project for download.
User 10077 Photo


Senior Advisor
1,095 posts

Maurice Dykes wrote:
I'm going to create a S-Drive account, publish my form there and see if the free account will let me upload a zip file of the test project for download.

I might be wrong, but I don't think S-Drive has PHP.
ASK ME ANYTHING
I provide personalized help for Coffeecup Users including personal or group training for Site Designer, Web Form Builder and more via Zoom.
Email me at support@uscni.org or call 865-687-7698.

Did you know that Web Form Builder can be used for both simple and complicated forms and that it's not limited to the default fonts and buttons? Take a look at a form we developed for WindowTinting.com.
https://forms.windowtinting.com/forms/w … ppingcart/
User 2159832 Photo


Registered User
55 posts

I have upload a zip file containing a test project to an s-drive account...

www.moetest.coffeecup.com/testproject.zip

The file I want to pass parameters to is...
TestURL.php
eg: TestURL.php?123

The form MyWFB/MyWFB.html is embedded in an iframe in TestURL
User 187934 Photo


Senior Advisor
20,193 posts

They seem to work on my host.
http://ericrohloff.com/coffeecup/ccforu … p?lic=1234
http://ericrohloff.com/coffeecup/ccforu … l?lic=4321
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 2159832 Photo


Registered User
55 posts

Hmmnnn interesting...

What should I be looking at on my server?

Also a small nitpick, but I set the max length for that text field to be 3 characters so how does it show anything thrown at it?

Thanks for testing it!
User 187934 Photo


Senior Advisor
20,193 posts

That's a validation check. You can GET a variable longer then allowed but it shouldn't be able to be submitted.
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 2159832 Photo


Registered User
55 posts

Eric Rohloff wrote:
That's a validation check. You can GET a variable longer then allowed but it shouldn't be able to be submitted.


Well in my case it wont be a problem because that parameter will be sent by my desktop app.

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.