SlideShare a Scribd company logo
FORMS
                              Fork forms library




Presentation about the Fork forms library http://github.com/forkcms/markup-library/
Photo: http://www.flickr.com/photos/cubagallery/
O Hai! I’m Yoni



Yoni De Beule, http://www.yonidebeule.be, @yoniweb
I work at Netlash-bSeen
                             among others.




http://www.netlash.com http://www.minify.be http://www.vlmbuzz.be http://www.wrappp.it
I love building websites.




I love building websites that are beautiful, accessible, easy to use and fast.
I love building the best possible websites
                              within the project specific time and budget.




I love building the best possible websites within the project specific time and budget (they should always be beautiful, accessible, easy to use and fast).
Time



Photo: http://www.flickr.com/photos/apoxapox/
Budget



Photo: http://www.flickr.com/photos/stephangeyer/
FANCY FORMS
                      Big budget




Fancy form examples
Fancy forms
Fancy forms
Fancy forms
Awesome if you have the time and budget.




Awesome if you have the time and budget.
UGLY FORMS
             Small budget




Ugly forms
http://www.famiweb.be/
http://www.dmoz.org/
Clear lack of time and budget.




Clear lack of time and budget.
FORK FORMS
                               Fork forms library




Fork forms is a lightweight html/css library that allows you to build complex forms in very little time. Fork forms degrades nicely to IE6, IE7 and IE8 and is tested in IE6, IE7, IE8, Firefox 2, Firefox 3, Safari, Opera and Chrome. Forms is build to allow you
to spend more time and budget on other aspects of your site.
Fork forms is a forms library you could have
                              written yourself.




Fork forms is a forms library you could have written yourself.
Major principles




Major principles
Major principles
           1. Flexible




Flexible
Major principles
                 1. Flexible
                 2. Understandable



Understandable
Major principles
1. Flexible
2. Understandable
HOW TO USE
Fork forms library
Simple form example
<form>
                                <p>
                                   <label>Name</label> <input type="text" class="inputText" />
                                </p>
                                </p>
                                   <label>Message</label> <textarea></textarea>
                                </p>
                                <p>
                                   <input type="submit" class="inputSubmit" value="Send" />
                                </p>
                             </form>



Compromises have been made to make the code fit the screen (missing fieldset, label and input on the same line, ect)
This may look simple but you can tweak the button layout, focus styles, errors and messages.
Simple form example with class horizontal
<form class= "horizontal" >
                                 <p>
                                    <label>Name</label> <input type="text" class="inputText" />
                                 </p>
                                 </p>
                                    <label>Message</label> <textarea></textarea>
                                 </p>
                                 <p>
                                    <input type="submit" class="inputSubmit" value="Send" />
                                 </p>
                              </form>



You can add horizontal to any wrapper (div, fieldset or form).
Variable width form example
<form>
   <p class="tinyInput" >
      <label>Tiny</label> <input type="text" class="inputText" />
   </p>
   <p class="smallInput" >
      <label>Small</label> <input type="text" class="inputText" />
   </p>
   <p class="defaultInput" >
      <label>Normal</label> <input type="text" class="inputText" />
   </p>
   <p class="mediumInput" >
      <label>Medium</label> <input type="text" class="inputText" />
   </p>
   <p class="bigInput" >
      <label>Big</label> <input type="text" class="inputText" />
   </p>
</form>
Aligning blocks
<form>
   <p class="bigInput" >
      <label>Address</label> <input type="text" class="inputText" />
   </p>
   <div class="alignBlocks">
      <p>
          <label>City</label> <input type="text" class="inputText" />
      </p>
      <p class="smallInput">
          <label>State</label> <input type="text" class="inputText" />
      </p>
      <p class="smallInput">
          <label>Zip</label> <input type="text" class="inputText" />
      </p>
   </div>
</form>
Aligning fields
<form>
   <div class="alignFields">
      <p>
          <label>City and ZIP code</label>
          <input type="text" class="inputText" />
      </p>
      <p class="smallInput" >
          <input type="text" class="inputText" />
      </p>
   </div>
</form>
Oneliner
<form>
   <div class="oneLiner">
      <p>
          <label>City and ZIP code</label>
          <input type="text" class="inputText" />
      </p>
      <p class="smallInput" >
          <input type="text" class="inputText" />
      </p>
      <p>
          <input type="submit" class="inputSubmit" value="Send" />
      </p>
   </div>
</form>
formSection
<form>
   <div class="formSection">
      <p class="label" >Properties</p>
      <div class="formSectionContent">
          <div class="alignBlocks">...</div>
          <div class="alignBlocks">...</div>
          <div class="alignBlocks">...</div>
          <p>
             <input type="submit" class="inputSubmit" value="Send" />
          </p>
      </div>
   </div>
</form>
Now add messages, errors, visible fieldsets,
input lists and selects
http://github.com/forkcms/markup-library
Questions?



Questions?
http://www.yonidebeule.be



Yoni De Beule, http://www.yonidebeule.be, @yoniweb

More Related Content

What's hot

What's hot (20)

Falling in Love with Forms [Microsoft Edge Web Summit 2015]
Falling in Love with Forms [Microsoft Edge Web Summit 2015]Falling in Love with Forms [Microsoft Edge Web Summit 2015]
Falling in Love with Forms [Microsoft Edge Web Summit 2015]
 
HTML CSS & Javascript
HTML CSS & JavascriptHTML CSS & Javascript
HTML CSS & Javascript
 
Html,javascript & css
Html,javascript & cssHtml,javascript & css
Html,javascript & css
 
BEM - CSS, Seriously
BEM - CSS, SeriouslyBEM - CSS, Seriously
BEM - CSS, Seriously
 
HTML Foundations, pt 2
HTML Foundations, pt 2HTML Foundations, pt 2
HTML Foundations, pt 2
 
HTML, CSS And JAVASCRIPT!
HTML, CSS And JAVASCRIPT!HTML, CSS And JAVASCRIPT!
HTML, CSS And JAVASCRIPT!
 
Html css workshop, lesson 0, how browsers work
Html css workshop, lesson 0, how browsers workHtml css workshop, lesson 0, how browsers work
Html css workshop, lesson 0, how browsers work
 
HTML und CSS für Designer / HTML & CSS for designers (PUBKON 2014)
HTML und CSS für Designer / HTML & CSS for designers (PUBKON 2014)HTML und CSS für Designer / HTML & CSS for designers (PUBKON 2014)
HTML und CSS für Designer / HTML & CSS for designers (PUBKON 2014)
 
Web front end development introduction to html css and javascript
Web front end development introduction to html css and javascriptWeb front end development introduction to html css and javascript
Web front end development introduction to html css and javascript
 
BEM it! Introduction to BEM methodology
BEM it! Introduction to BEM methodologyBEM it! Introduction to BEM methodology
BEM it! Introduction to BEM methodology
 
HTML/CSS Lecture 1
HTML/CSS Lecture 1HTML/CSS Lecture 1
HTML/CSS Lecture 1
 
HTML5 Essentials
HTML5 EssentialsHTML5 Essentials
HTML5 Essentials
 
Essential html tweaks for accessible themes
Essential html tweaks for accessible themesEssential html tweaks for accessible themes
Essential html tweaks for accessible themes
 
Html 5 and css 3
Html 5 and css 3Html 5 and css 3
Html 5 and css 3
 
HTML Lecture Part 1 of 2
HTML Lecture Part 1 of 2HTML Lecture Part 1 of 2
HTML Lecture Part 1 of 2
 
Web Layout
Web LayoutWeb Layout
Web Layout
 
Introduction to jQuery Mobile
Introduction to jQuery MobileIntroduction to jQuery Mobile
Introduction to jQuery Mobile
 
Supercharged HTML & CSS
Supercharged HTML & CSSSupercharged HTML & CSS
Supercharged HTML & CSS
 
HTML Frameset & Inline Frame
HTML Frameset & Inline FrameHTML Frameset & Inline Frame
HTML Frameset & Inline Frame
 
HTML, CSS and Java Scripts Basics
HTML, CSS and Java Scripts BasicsHTML, CSS and Java Scripts Basics
HTML, CSS and Java Scripts Basics
 

Similar to Fork forms library

Your Custom WordPress Admin Pages Suck
Your Custom WordPress Admin Pages SuckYour Custom WordPress Admin Pages Suck
Your Custom WordPress Admin Pages Suck
Anthony Montalbano
 
Html basics 10 form
Html basics 10 formHtml basics 10 form
Html basics 10 form
H K
 
Desenvolvimento web com Ruby on Rails (parte 2)
Desenvolvimento web com Ruby on Rails (parte 2)Desenvolvimento web com Ruby on Rails (parte 2)
Desenvolvimento web com Ruby on Rails (parte 2)
Joao Lucas Santana
 

Similar to Fork forms library (20)

Your Custom WordPress Admin Pages Suck
Your Custom WordPress Admin Pages SuckYour Custom WordPress Admin Pages Suck
Your Custom WordPress Admin Pages Suck
 
TOSSUG HTML5 讀書會 新標籤與表單
TOSSUG HTML5 讀書會 新標籤與表單TOSSUG HTML5 讀書會 新標籤與表單
TOSSUG HTML5 讀書會 新標籤與表單
 
P.S. I love you
P.S. I love youP.S. I love you
P.S. I love you
 
Creating HTML Pages
Creating HTML PagesCreating HTML Pages
Creating HTML Pages
 
Artdm171 Week4 Tags
Artdm171 Week4 TagsArtdm171 Week4 Tags
Artdm171 Week4 Tags
 
EECI 2010 - The Power of ExpressionEngine's Dynamic Templates
EECI 2010 - The Power of ExpressionEngine's Dynamic TemplatesEECI 2010 - The Power of ExpressionEngine's Dynamic Templates
EECI 2010 - The Power of ExpressionEngine's Dynamic Templates
 
Bootstrap
BootstrapBootstrap
Bootstrap
 
Html basics 10 form
Html basics 10 formHtml basics 10 form
Html basics 10 form
 
Polytechnic speaker deck oluwadamilare
Polytechnic speaker deck oluwadamilarePolytechnic speaker deck oluwadamilare
Polytechnic speaker deck oluwadamilare
 
Polytechnic speaker deck oluwadamilare
Polytechnic speaker deck oluwadamilarePolytechnic speaker deck oluwadamilare
Polytechnic speaker deck oluwadamilare
 
Modular Design with Web Components
Modular Design with Web ComponentsModular Design with Web Components
Modular Design with Web Components
 
Lecture 03 HTML&CSS Part 2
Lecture 03   HTML&CSS Part 2Lecture 03   HTML&CSS Part 2
Lecture 03 HTML&CSS Part 2
 
MVC and Razor - Doc. v1.2
MVC and Razor - Doc. v1.2MVC and Razor - Doc. v1.2
MVC and Razor - Doc. v1.2
 
Wicket from Designer to Developer
Wicket from Designer to DeveloperWicket from Designer to Developer
Wicket from Designer to Developer
 
Html
HtmlHtml
Html
 
Desenvolvimento web com Ruby on Rails (parte 2)
Desenvolvimento web com Ruby on Rails (parte 2)Desenvolvimento web com Ruby on Rails (parte 2)
Desenvolvimento web com Ruby on Rails (parte 2)
 
Biml for Beginners - Generating SSIS Packages with BimlScript (SQLSaturday Ex...
Biml for Beginners - Generating SSIS Packages with BimlScript (SQLSaturday Ex...Biml for Beginners - Generating SSIS Packages with BimlScript (SQLSaturday Ex...
Biml for Beginners - Generating SSIS Packages with BimlScript (SQLSaturday Ex...
 
Polymer Polytechnic George Town 2014
Polymer Polytechnic George Town 2014Polymer Polytechnic George Town 2014
Polymer Polytechnic George Town 2014
 
Biml for Beginners - Generating SSIS Packages with BimlScript (SQLSaturday Go...
Biml for Beginners - Generating SSIS Packages with BimlScript (SQLSaturday Go...Biml for Beginners - Generating SSIS Packages with BimlScript (SQLSaturday Go...
Biml for Beginners - Generating SSIS Packages with BimlScript (SQLSaturday Go...
 
Introduction to HTML and CSS
Introduction to HTML and CSSIntroduction to HTML and CSS
Introduction to HTML and CSS
 

Recently uploaded

National-Learning-Camp 2024 deped....pptx
National-Learning-Camp 2024 deped....pptxNational-Learning-Camp 2024 deped....pptx
National-Learning-Camp 2024 deped....pptx
AlecAnidul
 
Transforming Brand Perception and Boosting Profitability
Transforming Brand Perception and Boosting ProfitabilityTransforming Brand Perception and Boosting Profitability
Transforming Brand Perception and Boosting Profitability
aaryangarg12
 

Recently uploaded (11)

Art Nouveau Movement Presentation for Art History.
Art Nouveau Movement Presentation for Art History.Art Nouveau Movement Presentation for Art History.
Art Nouveau Movement Presentation for Art History.
 
PORTFOLIO FABIANA VILLANI ARCHITECTURE.pdf
PORTFOLIO FABIANA VILLANI ARCHITECTURE.pdfPORTFOLIO FABIANA VILLANI ARCHITECTURE.pdf
PORTFOLIO FABIANA VILLANI ARCHITECTURE.pdf
 
Book Formatting: Quality Control Checks for Designers
Book Formatting: Quality Control Checks for DesignersBook Formatting: Quality Control Checks for Designers
Book Formatting: Quality Control Checks for Designers
 
The Evolution of Fashion Trends: History to Fashion
The Evolution of Fashion Trends: History to FashionThe Evolution of Fashion Trends: History to Fashion
The Evolution of Fashion Trends: History to Fashion
 
The Design Code Google Developer Student Club.pptx
The Design Code Google Developer Student Club.pptxThe Design Code Google Developer Student Club.pptx
The Design Code Google Developer Student Club.pptx
 
National-Learning-Camp 2024 deped....pptx
National-Learning-Camp 2024 deped....pptxNational-Learning-Camp 2024 deped....pptx
National-Learning-Camp 2024 deped....pptx
 
CA OFFICE office office office _VIEWS.pdf
CA OFFICE office office office _VIEWS.pdfCA OFFICE office office office _VIEWS.pdf
CA OFFICE office office office _VIEWS.pdf
 
Expert Accessory Dwelling Unit (ADU) Drafting Services
Expert Accessory Dwelling Unit (ADU) Drafting ServicesExpert Accessory Dwelling Unit (ADU) Drafting Services
Expert Accessory Dwelling Unit (ADU) Drafting Services
 
Common Designing Mistakes and How to avoid them
Common Designing Mistakes and How to avoid themCommon Designing Mistakes and How to avoid them
Common Designing Mistakes and How to avoid them
 
Transforming Brand Perception and Boosting Profitability
Transforming Brand Perception and Boosting ProfitabilityTransforming Brand Perception and Boosting Profitability
Transforming Brand Perception and Boosting Profitability
 
Top 5 Indian Style Modular Kitchen Designs
Top 5 Indian Style Modular Kitchen DesignsTop 5 Indian Style Modular Kitchen Designs
Top 5 Indian Style Modular Kitchen Designs
 

Fork forms library

  • 1. FORMS Fork forms library Presentation about the Fork forms library http://github.com/forkcms/markup-library/ Photo: http://www.flickr.com/photos/cubagallery/
  • 2. O Hai! I’m Yoni Yoni De Beule, http://www.yonidebeule.be, @yoniweb
  • 3. I work at Netlash-bSeen among others. http://www.netlash.com http://www.minify.be http://www.vlmbuzz.be http://www.wrappp.it
  • 4. I love building websites. I love building websites that are beautiful, accessible, easy to use and fast.
  • 5. I love building the best possible websites within the project specific time and budget. I love building the best possible websites within the project specific time and budget (they should always be beautiful, accessible, easy to use and fast).
  • 8. FANCY FORMS Big budget Fancy form examples
  • 12. Awesome if you have the time and budget. Awesome if you have the time and budget.
  • 13. UGLY FORMS Small budget Ugly forms
  • 14.
  • 17. Clear lack of time and budget. Clear lack of time and budget.
  • 18. FORK FORMS Fork forms library Fork forms is a lightweight html/css library that allows you to build complex forms in very little time. Fork forms degrades nicely to IE6, IE7 and IE8 and is tested in IE6, IE7, IE8, Firefox 2, Firefox 3, Safari, Opera and Chrome. Forms is build to allow you to spend more time and budget on other aspects of your site.
  • 19. Fork forms is a forms library you could have written yourself. Fork forms is a forms library you could have written yourself.
  • 21. Major principles 1. Flexible Flexible
  • 22. Major principles 1. Flexible 2. Understandable Understandable
  • 24. HOW TO USE Fork forms library
  • 26. <form> <p> <label>Name</label> <input type="text" class="inputText" /> </p> </p> <label>Message</label> <textarea></textarea> </p> <p> <input type="submit" class="inputSubmit" value="Send" /> </p> </form> Compromises have been made to make the code fit the screen (missing fieldset, label and input on the same line, ect)
  • 27. This may look simple but you can tweak the button layout, focus styles, errors and messages.
  • 28. Simple form example with class horizontal
  • 29. <form class= "horizontal" > <p> <label>Name</label> <input type="text" class="inputText" /> </p> </p> <label>Message</label> <textarea></textarea> </p> <p> <input type="submit" class="inputSubmit" value="Send" /> </p> </form> You can add horizontal to any wrapper (div, fieldset or form).
  • 30.
  • 32. <form> <p class="tinyInput" > <label>Tiny</label> <input type="text" class="inputText" /> </p> <p class="smallInput" > <label>Small</label> <input type="text" class="inputText" /> </p> <p class="defaultInput" > <label>Normal</label> <input type="text" class="inputText" /> </p> <p class="mediumInput" > <label>Medium</label> <input type="text" class="inputText" /> </p> <p class="bigInput" > <label>Big</label> <input type="text" class="inputText" /> </p> </form>
  • 33.
  • 35. <form> <p class="bigInput" > <label>Address</label> <input type="text" class="inputText" /> </p> <div class="alignBlocks"> <p> <label>City</label> <input type="text" class="inputText" /> </p> <p class="smallInput"> <label>State</label> <input type="text" class="inputText" /> </p> <p class="smallInput"> <label>Zip</label> <input type="text" class="inputText" /> </p> </div> </form>
  • 36.
  • 38. <form> <div class="alignFields"> <p> <label>City and ZIP code</label> <input type="text" class="inputText" /> </p> <p class="smallInput" > <input type="text" class="inputText" /> </p> </div> </form>
  • 39.
  • 41. <form> <div class="oneLiner"> <p> <label>City and ZIP code</label> <input type="text" class="inputText" /> </p> <p class="smallInput" > <input type="text" class="inputText" /> </p> <p> <input type="submit" class="inputSubmit" value="Send" /> </p> </div> </form>
  • 42.
  • 44. <form> <div class="formSection"> <p class="label" >Properties</p> <div class="formSectionContent"> <div class="alignBlocks">...</div> <div class="alignBlocks">...</div> <div class="alignBlocks">...</div> <p> <input type="submit" class="inputSubmit" value="Send" /> </p> </div> </div> </form>
  • 45.
  • 46. Now add messages, errors, visible fieldsets, input lists and selects
  • 47.
  • 48.
  • 49.
  • 52. http://www.yonidebeule.be Yoni De Beule, http://www.yonidebeule.be, @yoniweb