|
|
#1 |
|
Bronze Member
![]() Join Date: Oct 2009
Posts: 45
|
Right now, I am creating a form from text that was given to me. I have to go in and enter the size, maxlength etc. My friend used Dreamweaver. A lot of extra code like labels and such were inserted which I removed. But, this is tedious. I also am running Ubuntu Linux. I no longer have Dreamweaver. But, I have Bluefish editor which is close to the same thing.
I am wondering what my quickest route to finishing this form is. I need to add tabindex, size, and maxlength to almost every entry. The form is 4 printed pages long. It won't take a long time. But, I am more concerned about the future. If we get another form to create, I don't want to take forever on that one. What are the quickest ways to create forms that have valid html, tabindexes automatically filled in, size and length also automatically filled in? Thanks in advance! |
|
|
|
|
|
#2 |
|
Gold Member
![]() Join Date: Nov 2009
Location: New York
Posts: 370
|
If you are using a table-based layout I would suggest switching to CSS. Labels can come in handy not sure why you removed them.
Here is a very simple example: Code:
<form method="post" action="#" id="your-id" enctype="multipart/form-data"> <label>Some Label</label> <input type="text" name="your-name" maxlength="100" tabindex="1" /> </form> Code:
input[type=text],
input[type=password],
select,
textarea {
your-rules: here;
}
http://www.webstandards.org/learn/tu.../intermediate/ |
|
|
|
|
|
#3 |
|
Bronze Member
![]() Join Date: Dec 2010
Posts: 44
|
You have to consider Wufoo for this one.
__________________
Split Element Design Studio | Expand your image. |
|
|
|
|
|
#4 |
|
Gold Member
![]() Join Date: Oct 2010
Posts: 388
|
Each time you build a from you are using different size, maxlength, etc... You should fill it manually. If it's the same form that you want to use, just do copy/paste to the code after first time modifying.
|
|
|
|
|
|
#5 | |
|
Super Moderator
![]() Join Date: Oct 2008
Location: Arizona, USA
Posts: 1,053
|
Quote:
Code:
form.login input, form.login select, form.login textarea {
--css properties--
}
__________________
John Darling Graphic / Web Designer SmarterTools Inc. (877) 357-6278 www.smartertools.com |
|
|
|
|
![]() |
| Tags |
| form, html |
| Thread Tools | |
| Display Modes | |
|
|