Can textboxes and other controls be resized?
Posted by eedoh - Feb 23 ’14 at 12:13
Hi again.
Our client has weird request, they want some of the forms to have grid-like looks. As there's no grid available as a control I tried using standard controls in a row, but my form gets too wide. Is there a way of setting the control size directly, in pixels.
I'd suggest making some kind of grid view btw. I hate grids on web, but this is not the first time I had to do it for a client, I', sure my case is not unique...
-
eedohMemberMember for: 8 years 3 months 15 days
OK, I found this forum thread http://forum.spform.com/forms-designer/css-selectors-1/ and it helped me setting width, but it impacted all the fields on the form. How can I apply it to selected fields only?
-
Dmitry KozlovAdminMember for: 8 years 7 months 25 days
[#1]: Sure, you can assign a custom CSS class to the specific field in Forms Designer (e.g. 'your-custom-class') and define it in CSS-editor by the following way:
.your-custom-class input[type='text'] { font-size: 18px; }
-
craigwat11MemberMember for: 8 years 2 months 7 days
Hi, is there anyway to lock the size of a multi-text field so text drops to the next line instead of just auto-expanding the size of the input field?
Thanks for all your help!
-
Dmitry KozlovAdminMember for: 8 years 7 months 25 days
[#3]: Hi,
Sure, please assign CSS-class to your multi-line text field, e.g. 'multi-text' and define it in CSS-editor following way:
.multi-text .fd_control { width: 200px; }