Embedding two WBF forms in the same HTML

User 2796854 Photo


Registered User
44 posts

I am embedding 2 WBF forms in the same html file and running into an issue: The width of both forms are adjusting to the hight of the larger form. One is 70px and the other is 269px. However, both are displaying at 269px. Which means the smaller form (top form) has a good amount of empty space below it.
I checked the code in the html file and each are correct.

Any idea why and what to do? Don't know much about how this works but I am guessing the 2nd script is overriding the 1st...
User 2796854 Photo


Registered User
44 posts

By the way, combing both forms into one is not an option - They utilize different db tables.
User 187934 Photo


Senior Advisor
20,190 posts

Can we have a link to the page with the forms so we can see the issue?
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 2796854 Photo


Registered User
44 posts

Eric Rohloff wrote:
Can we have a link to the page with the forms so we can see the issue?


Hi Eric, not sure how to post the code online. But I was testing to find out if it ws something with my code or the S/W so created 2 forms (2 and 5 input elements) and an empty html file to paste the WFB scripts. same thing happened. The smaller form adjusted its height to follow the larger form. I've attached a screenshot of the webpage as well as a zipped folder of the test project.
Attachments:
User 187934 Photo


Senior Advisor
20,190 posts

We need a link to the page your forms are on.
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 2796854 Photo


Registered User
44 posts

is there a way to upload the files/folders to my site on coffeecup.com? Others, I have no way to host it to give a link.
User 103173 Photo


VP of Software Development
0 posts

Tim wrote:
is there a way to upload the files/folders to my site on coffeecup.com? Others, I have no way to host it to give a link.

All you do there is publish each unique form to S-Drive. This will give you a block of code for each form and you take that and add it to your page.

Learn the essentials with these quick tips for Responsive Site Designer, Responsive Email Designer, Foundation Framer, and the new Bootstrap Builder. You'll be making awesome, code-free responsive websites and newsletters like a boss.
User 2796854 Photo


Registered User
44 posts

aaah, simple. Will do.
User 2796854 Photo


Registered User
44 posts

ok, posted on sDrive and coffeecup.com http://ghamian.coffeecup.com

For some reason only one form wants to load.. tried many times ...
User 103173 Photo


VP of Software Development
0 posts

Your markup for that page has all sorts of problems. I am surpassed it even loaded the one form. ;)

Using correct markup for a page, you can see both forms appear.

http://five.coffeecup.com/index.html
Learn the essentials with these quick tips for Responsive Site Designer, Responsive Email Designer, Foundation Framer, and the new Bootstrap Builder. You'll be making awesome, code-free responsive websites and newsletters like a boss.

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.