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
Fork forms library
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).
Fork forms library
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>
Fork forms library
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>
Fork forms library
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>
Fork forms library
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>
Fork forms library
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>
Fork forms library
Now add messages, errors, visible fieldsets,
input lists and selects
Fork forms library
Fork forms library
Fork forms library
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 (20)

PDF
Falling in Love with Forms [Microsoft Edge Web Summit 2015]
Aaron Gustafson
 
KEY
HTML CSS & Javascript
David Lindkvist
 
PDF
Html,javascript & css
Predhin Sapru
 
PDF
BEM - CSS, Seriously
Roland Lösslein
 
PDF
HTML Foundations, pt 2
Shawn Calvert
 
PPTX
HTML, CSS And JAVASCRIPT!
Syahmi RH
 
PDF
Html css workshop, lesson 0, how browsers work
Albino Tonnina
 
PDF
HTML und CSS für Designer / HTML & CSS for designers (PUBKON 2014)
Michaela Lehr
 
PDF
Web front end development introduction to html css and javascript
Marc Huang
 
PDF
BEM it! Introduction to BEM methodology
Varya Stepanova
 
KEY
HTML/CSS Lecture 1
Lee Lundrigan
 
PDF
HTML5 Essentials
Marc Grabanski
 
PPTX
Essential html tweaks for accessible themes
Martin Stehle
 
ODP
Html 5 and css 3
Kamalakannan Sivanandam
 
PDF
HTML Lecture Part 1 of 2
Sharon Wasden
 
PDF
Web Layout
Shawn Calvert
 
PPTX
Introduction to jQuery Mobile
ejlp12
 
PPTX
Supercharged HTML & CSS
Max Kraszewski
 
PPTX
HTML Frameset & Inline Frame
Nisa Soomro
 
PPTX
HTML, CSS and Java Scripts Basics
Sun Technlogies
 
Falling in Love with Forms [Microsoft Edge Web Summit 2015]
Aaron Gustafson
 
HTML CSS & Javascript
David Lindkvist
 
Html,javascript & css
Predhin Sapru
 
BEM - CSS, Seriously
Roland Lösslein
 
HTML Foundations, pt 2
Shawn Calvert
 
HTML, CSS And JAVASCRIPT!
Syahmi RH
 
Html css workshop, lesson 0, how browsers work
Albino Tonnina
 
HTML und CSS für Designer / HTML & CSS for designers (PUBKON 2014)
Michaela Lehr
 
Web front end development introduction to html css and javascript
Marc Huang
 
BEM it! Introduction to BEM methodology
Varya Stepanova
 
HTML/CSS Lecture 1
Lee Lundrigan
 
HTML5 Essentials
Marc Grabanski
 
Essential html tweaks for accessible themes
Martin Stehle
 
Html 5 and css 3
Kamalakannan Sivanandam
 
HTML Lecture Part 1 of 2
Sharon Wasden
 
Web Layout
Shawn Calvert
 
Introduction to jQuery Mobile
ejlp12
 
Supercharged HTML & CSS
Max Kraszewski
 
HTML Frameset & Inline Frame
Nisa Soomro
 
HTML, CSS and Java Scripts Basics
Sun Technlogies
 

Similar to Fork forms library (20)

PDF
Your Custom WordPress Admin Pages Suck
Anthony Montalbano
 
PDF
TOSSUG HTML5 讀書會 新標籤與表單
偉格 高
 
PDF
P.S. I love you
Oleksandr Strikha
 
PPTX
Tech Winter Break'24 Workshop A hands-o
ghatbandhechinmayi
 
PDF
Creating HTML Pages
Mike Crabb
 
KEY
Artdm171 Week4 Tags
Gilbert Guerrero
 
PDF
EECI 2010 - The Power of ExpressionEngine's Dynamic Templates
FortySeven Media
 
PDF
Bootstrap
Sarvesh Kushwaha
 
DOC
Html basics 10 form
H K
 
PPTX
Polytechnic speaker deck oluwadamilare
Oluwadamilare Ibrahim
 
PPTX
Polytechnic speaker deck oluwadamilare
Oluwadamilare Ibrahim
 
PDF
Modular Design with Web Components
C4Media
 
PPTX
Lecture 03 HTML&CSS Part 2
KULeuven-OnlinePublishing
 
PPTX
MVC and Razor - Doc. v1.2
Naji El Kotob
 
PDF
Wicket from Designer to Developer
Marcello Teodori
 
PDF
Desenvolvimento web com Ruby on Rails (parte 2)
Joao Lucas Santana
 
PDF
Biml for Beginners - Generating SSIS Packages with BimlScript (SQLSaturday Ex...
Cathrine Wilhelmsen
 
PDF
Polymer Polytechnic George Town 2014
Vin Lim
 
PDF
Biml for Beginners - Generating SSIS Packages with BimlScript (SQLSaturday Go...
Cathrine Wilhelmsen
 
Your Custom WordPress Admin Pages Suck
Anthony Montalbano
 
TOSSUG HTML5 讀書會 新標籤與表單
偉格 高
 
P.S. I love you
Oleksandr Strikha
 
Tech Winter Break'24 Workshop A hands-o
ghatbandhechinmayi
 
Creating HTML Pages
Mike Crabb
 
Artdm171 Week4 Tags
Gilbert Guerrero
 
EECI 2010 - The Power of ExpressionEngine's Dynamic Templates
FortySeven Media
 
Bootstrap
Sarvesh Kushwaha
 
Html basics 10 form
H K
 
Polytechnic speaker deck oluwadamilare
Oluwadamilare Ibrahim
 
Polytechnic speaker deck oluwadamilare
Oluwadamilare Ibrahim
 
Modular Design with Web Components
C4Media
 
Lecture 03 HTML&CSS Part 2
KULeuven-OnlinePublishing
 
MVC and Razor - Doc. v1.2
Naji El Kotob
 
Wicket from Designer to Developer
Marcello Teodori
 
Desenvolvimento web com Ruby on Rails (parte 2)
Joao Lucas Santana
 
Biml for Beginners - Generating SSIS Packages with BimlScript (SQLSaturday Ex...
Cathrine Wilhelmsen
 
Polymer Polytechnic George Town 2014
Vin Lim
 
Biml for Beginners - Generating SSIS Packages with BimlScript (SQLSaturday Go...
Cathrine Wilhelmsen
 
Ad

Recently uploaded (20)

PPTX
办理学历认证UHI在读证明信英国赫特福德郡大学毕业证范本,UHI成绩单修改
Taqyea
 
PDF
Plastic Foam as eco-friendly product in interiors
Disha Agrawal
 
PDF
🔴BUKTI KEMENANGAN HARI INI SENIN 14 JULI 2025 !!!🔴
GRAB
 
PDF
Empowering Artisans Through Technology Karmakar App Concept
yellowslice2
 
POTX
khsakhdjsahfsdfkjehfewfjxmxkvskghjdkskjhfdsjkhf.potx
NovitaYuliani4
 
PDF
SS27 Men's Fashion Trend Book Peclers Paris
Peclers Paris
 
PPTX
Elevating Elegance: Lobby Design Ideas by Germany’s Top Building Rendering Se...
Yantram Animation Studio Corporation
 
PPTX
Mainframe Modernization Services with Vrnexgen
tejushrie
 
PDF
Case Study on good and bad acoustics in auditorium
Disha Agrawal
 
PDF
CS6801-MULTI-CORE-ARCHITECTURE-AND-PROGRAMMING_watermark.pdf
SriRanjani60
 
PDF
AI Intervention in Design & Content Creation
YellowSlice1
 
PPTX
ash green THEMEN PPT WITH CYCLONE DONATIOANS ASN DUNDARTIONPROSAL
Younghusbandwife
 
PDF
tdtr.pdfjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjj
JuanCParedes
 
PPTX
Great_Discoverers_Nohzyxyxyzyzyzyzzyz_Imagptx
kevadiyahem07
 
PPTX
Urban design is a huge concept when it comes to planning.
IshikaPanchal11
 
PPTX
Pitch_template_ppt_for_generation volunteer2024 .pptx
rinjanithiara99
 
PPTX
TAMBO CANTA CALLAO C3 INFOGRAFIA - 05.07.pptx
milleracosta1
 
PPTX
hall ppt 1 it for basic tamolet .pptx
ashishbehera64
 
PDF
Presentation of design made by power point
habibikuw002
 
PPTX
Graphic_Design_Pjjjjjjjjjjjjjjjresentation.pptx
kumarsahil80682
 
办理学历认证UHI在读证明信英国赫特福德郡大学毕业证范本,UHI成绩单修改
Taqyea
 
Plastic Foam as eco-friendly product in interiors
Disha Agrawal
 
🔴BUKTI KEMENANGAN HARI INI SENIN 14 JULI 2025 !!!🔴
GRAB
 
Empowering Artisans Through Technology Karmakar App Concept
yellowslice2
 
khsakhdjsahfsdfkjehfewfjxmxkvskghjdkskjhfdsjkhf.potx
NovitaYuliani4
 
SS27 Men's Fashion Trend Book Peclers Paris
Peclers Paris
 
Elevating Elegance: Lobby Design Ideas by Germany’s Top Building Rendering Se...
Yantram Animation Studio Corporation
 
Mainframe Modernization Services with Vrnexgen
tejushrie
 
Case Study on good and bad acoustics in auditorium
Disha Agrawal
 
CS6801-MULTI-CORE-ARCHITECTURE-AND-PROGRAMMING_watermark.pdf
SriRanjani60
 
AI Intervention in Design & Content Creation
YellowSlice1
 
ash green THEMEN PPT WITH CYCLONE DONATIOANS ASN DUNDARTIONPROSAL
Younghusbandwife
 
tdtr.pdfjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjj
JuanCParedes
 
Great_Discoverers_Nohzyxyxyzyzyzyzzyz_Imagptx
kevadiyahem07
 
Urban design is a huge concept when it comes to planning.
IshikaPanchal11
 
Pitch_template_ppt_for_generation volunteer2024 .pptx
rinjanithiara99
 
TAMBO CANTA CALLAO C3 INFOGRAFIA - 05.07.pptx
milleracosta1
 
hall ppt 1 it for basic tamolet .pptx
ashishbehera64
 
Presentation of design made by power point
habibikuw002
 
Graphic_Design_Pjjjjjjjjjjjjjjjresentation.pptx
kumarsahil80682
 
Ad

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
  • 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).
  • 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>
  • 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>
  • 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>
  • 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>
  • 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>
  • 46. Now add messages, errors, visible fieldsets, input lists and selects
  • 52. http://www.yonidebeule.be Yoni De Beule, http://www.yonidebeule.be, @yoniweb