Igloo Theme
Go to iglootheme.com
  • Welcome
  • FAQ
  • Changelog
  • Common Issues
  • Getting started
    • Installation
    • Theme customization
    • Header and navigation
    • Footer
    • Multilingual site
    • Umbraco Upgrade v8 -> v13
  • Page Types
    • Site
    • Page
    • Feed
      • Post
    • Global content
    • People
    • Sitemap
    • Search
  • Widgets
    • Hero
    • Text
    • Grid
      • Header
      • Text
      • Image
      • Quote
      • Pod
      • Card
      • Code
      • Accordion
      • Price List
      • Line Break
      • Button
      • Video
      • Umbraco Form
      • Price Table
      • Navigation
      • Sub Grid
      • Slider
      • Person
    • Image
    • Text and images
    • Gallery
    • Slider
    • Tabs
    • Latest from feed
    • Map
    • Umbraco forms
    • Contact form
    • Newsletter
    • Logos
    • Instagram feed
    • Global content
    • Login
    • Register
    • Breadcrumbs
    • People
    • Section Navigation
  • Extending
    • Front-end UI
      • CSS variables
      • Buttons
      • Grid
      • Widgets
      • Forms
      • Typography
      • Helpers
    • Create a new widget
    • Intellisense on models in Visual studio
Powered by GitBook
On this page
  • General
  • Validation
  • Validated
  • Checkbox
  • Radio
  • Success!

Was this helpful?

  1. Extending
  2. Front-end UI

Forms

Markup for HTML forms

PreviousWidgetsNextTypography

Last updated 4 years ago

Was this helpful?

General

<form>
    <label for="text" class="form-label">Textbox</label>
    <div class="help-block">Help text block</div>
    <input type="text" id="text" placeholder="Placeholder text...">
</form>

Validation

<form>
    <label for="text" class="form-label">Error <span class="error-color">*</span></label>
    <input type="text" id="text" required>
    <div class="field-validation-error">Error text</div>
</form>

Validated

<form>
   <label for="text" class="form-label">Validated <span class="error-color">*</span></label>
   <div class="form-validate-wrap">
      <input type="text" id="text" required value="Validated">
      <i class="fa fa-check-circle" aria-hidden="true"></i>
   </div>
</form>

Checkbox

<label class="cb-wrap">
    <input type="checkbox"> Checkbox
    <span class="checkmark"></span>
</label>

Radio

<label class="rb-wrap">
    <input type="radio" name="radio"> Radio 1
    <span class="radiobtn"></span>
</label>

Success!

<div class="text-center">

   <svg class="checkmark-svg" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 52 52">
      <circle class="checkmark__circle" cx="26" cy="26" r="25" fill="none" />
      <path class="checkmark__check" fill="none" d="M14.1 27.2l7.1 7.2 16.7-16.8" />
   </svg>

   <h4 class="success-color">Oh yhea, you did it!</h4>

</div>