s
Contact Login Register
h M

Data Springs Modules Community Questions & Answers

Want field with to be 100% in Responsive Form

How would I go about setting the field width to 100% of the form width?
Using DF  Ver:6.10.0.41 / 7.4.0 and the form is in responsive mode. I know how to change styles, and classes, however it looks to me that the field widths are hard coded - possibly written by javascript? I need 100% width using the percentage, not the pixels unit of measure But how do I make that happen? Thank you.

asked 9/21/2016
Mark Buelsing159
Mark Buelsing

1 Answer

Here is how to set the field width to 95% of the form width

Set the class name for the field(s) to “NinetyFive” then add the following line to the initial javascript to go through the form and set the width of the field, its parent and its parents parent.

$(".NinetyFive").parent().parent().width('100%');$(".NinetyFive").parent().width('98%');$(".NinetyFive").width('88%');

answered 10/19/2016 Mark Buelsing 159
Mark Buelsing

Your Answer

In order to provide an answer to this question, you must Login

I am flagging this question because...




10 inform moderator flags remaining

I am deleting this question because...




I am flagging this answer because...




10 inform moderator flags remaining

Flagging a Post

You have already flagged this post. Clicking "Remove Flag" below will remove your flag, thus reducing the count by one as well.

I am deleting this answer because...




Enter your email below AND grab your spot in our big giveaway!

The winner will receive the entire Data Springs Collection 7.0 - Designed to get your website up and running like a DNN superhero (spandex not included).

  
Subscribe
huluhub.com
Luxury replica watches
konulu porno
deneme bonusu maltcasino bahis siteleri
escort beylikduzu olgun porno