Changing size of a form

Issues related to forms.
Post Reply
jaknupp
 
 
Posts: 2
Joined: Tue Aug 30, 2022 3:34 pm

Changing size of a form

Post by jaknupp »

Hello,

I have an existing page that I need to turn in to a form. I added the form and then moved to the back so it coves the whole page. That works fine.

The issue is that the form was created with a specific size. Because of that, the layout of the exiting items is incorrect. I tried changing the size using the advanced section of the style settings for the form, but that's not having an effect because the form div already has an inline size. This is what the page HTML is showing

<div id="wb_Form1" style="position:absolute;left:0px;top:0px;width:871px;height:583px;z-index:12;" class="Form1Style">
<form name="Form1" method="post" action="mailto:yourname@yourdomain.com" enctype="multipart/form-data" id="Form1">

Form1Style is the CSS to try and change the form size.

Is there any way to remove style="position:absolute;left:0px;top:0px;width:871px;height:583px;z-index:12;" from the form div or set it to just 100%?

For some objects there is an option for Full Width, but I don't see that for forms.

Thanks for any help,

John K
User avatar
Pablo
 
Posts: 23241
Joined: Sun Mar 28, 2004 12:00 pm
Location: Europe
Contact:

Re: Changing size of a form

Post by Pablo »

You can change the size of the form (like any other object) by using the size handles or directly via the property inspector.
The form cannot be smaller then its contents.

If you want a full width form then use a layer or layout grid instead.
jaknupp
 
 
Posts: 2
Joined: Tue Aug 30, 2022 3:34 pm

Re: Changing size of a form

Post by jaknupp »

Thank you -- that was what I needed!

I removed the form and added a layer set to "fill" and then enabled the form for that layer. Now I have the form and everything lays out correctly.

I'm really enjoying working with this tool.

John K
Post Reply