Home Work
SaaS developmentAI developmentAPI developmentMobile app developmentGoogle Ads managementHeadless ShopifyLaravel developmentNext.js developmentReact developmentTypeScript engineeringUI/UX designSEO & AEOEcommerce development
AI solutionsB2B platformsE-commerceHospitalityLead generationLogisticsEducationProcess automationSaaS platformsStartup MVPReal estateHealthcare
LegalHealthcareReal estateFinanceHospitality
The HagueRotterdamAmsterdamUtrechtEindhovenAlmereBredaArnhemNijmegenTilburgEnschedeGroningenLeidenDelftZoetermeerDen Bosch
Studio
AboutProcessLabBlogContact

Beoordeling met rapportcijfer New

Rating with a Dutch school grade from 1 to 10 including what it means (8 is good), a comment field that adapts to the grade and stays optional, and every state: hover, focus, selected, error without a grade, text too long, sending and thank you. Real radio buttons, so arrow keys and Tab just work. The textarea grows with field-sizing; without support it is resizable by hand.

Welk cijfer geef je je APK bij Garage Van Leeuwen?
0 / 300

How to use it

  1. Paste the HTML where the forms & inputs should appear.
  2. Add the CSS to your stylesheet. All classes are prefixed, so nothing clashes with your own styles.
  3. Add the JavaScript and call init() with the element that contains the HTML.
<!-- Beoordeling met rapportcijfer · NedDev · eigen werk. -->
<div class="jouw-container">
<form class="cbr" novalidate>
  <fieldset class="cbr__fs">
    <legend class="cbr__q">Welk cijfer geef je je APK bij Garage Van Leeuwen?</legend>
    <div class="cbr__scale"></div>
    <p class="cbr__mean" aria-hidden="true"><span>1 slecht</span><b class="cbr__now"></b><span>10 uitmuntend</span></p>
  </fieldset>
  <p class="cbr__err" id="cbr-e" role="alert"></p>
  <label class="cbr__lbl" for="cbr-t">Toelichting <span>(optioneel)</span></label>
  <textarea class="cbr__ta" id="cbr-t" rows="2" aria-describedby="cbr-c"></textarea>
  <div class="cbr__foot">
    <span class="cbr__count" id="cbr-c">0 / 300</span>
    <button type="submit" class="cbr__send" aria-disabled="true">Beoordeling versturen</button>
  </div>
  <div class="cbr__done" hidden tabindex="-1">
    <p class="cbr__big"></p>
    <p class="cbr__thx">Dank je wel. Je beoordeling staat binnen een dag op de site, met je voornaam en woonplaats.</p>
    <button type="button" class="cbr__edit">Cijfer aanpassen</button>
  </div>
</form>
</div>

More forms & inputs

Seen something you like?

Add it to your selection and send it over. We build your site around it, in your brand.

Get in touch →