This forum is no longer open and is for reading/searching only.
Please use our new MachForm Community Forum instead.
MachForm Community Forums » MachForm 2
Form Size and use a scroll bar
Started 16 years ago by ptaylor | 4 posts |
-
How can I make the form smaller and use a scroll bar in the form so that the forms fits on the web page?
Thanks
Posted 16 years ago # -
If you use the "embed form" option, it creates an Iframe (in-line frame) which has independent scroll bars (separate to those of the actual browser) if its too small to fit the content - is this what you mean?
Posted 16 years ago # -
Yes, and I have a lot of fields so the height of the form is to large so its making the web site look really weird. How can I make the form size smaller and use scroll bars on the right side please?
Thanks
PhilPosted 16 years ago # -
If you would like to adjust the size of your iframe and use scroller, simply modify the height, width and scrolling attributes of your iframe code.
For example:
<iframe height="1320" allowTransparency="true" frameborder="0" scrolling="no" style="width:100%;border:none" src="http://localhost/formbuilder/embed.php?id=200" title="Sample Form"><a href="http://www.example.com/machform/view.php?id=200" title="Sample Form">Sample Form</a></iframe>
Change it to be something like this:
<iframe height="1000" allowTransparency="true" frameborder="0" scrolling="yes" style="width:80%;border:none" src="http://localhost/formbuilder/embed.php?id=200" title="Sample Form"><a href="http://www.example.com/machform/view.php?id=200" title="Sample Form">Sample Form</a></iframe>
As you can see, I changed the scrolling to "yes", height to "1000" and width to "80%".Hope that helps.
MachForm Founder
Posted 16 years ago #
Reply
You must log in to post.