ꯃꯔꯨꯑꯣꯏꯕꯥ ꯀꯟꯇꯦꯟꯇ ꯑꯗꯨꯗꯥ ꯆꯠꯂꯨ꯫ ꯗꯣꯛꯌꯨꯃꯦꯟꯇꯁꯤꯡ ꯅꯦꯚꯤꯒꯦꯁꯅꯗꯥ ꯆꯠꯂꯨ꯫
Check
in English

ꯚꯦꯂꯤꯗꯦꯁꯟ ꯇꯧꯕꯥ꯫

ꯕ꯭ꯔꯥꯎꯖꯔ ꯗꯤꯐꯣꯜꯇ ꯕꯤꯍꯦꯕꯤꯌꯔꯁꯤꯡ ꯅꯠꯠꯔꯒꯥ ꯀꯁ꯭ꯇꯝ ꯁ꯭ꯇꯥꯏꯂꯁꯤꯡ ꯑꯃꯁꯨꯡ ꯖꯥꯚꯥꯁ꯭ꯛꯔꯤꯞꯇꯀꯤ ꯈꯨꯠꯊꯥꯡꯗꯥ, HTML5 ꯐꯣꯔꯝ ꯚꯦꯂꯤꯗꯦꯁꯅꯒꯥ ꯂꯣꯌꯅꯅꯥ ꯅꯍꯥꯛꯀꯤ ꯌꯨꯖꯔꯁꯤꯡꯗꯥ ꯃꯃꯜ ꯂꯩꯕꯥ, ꯑꯦꯛꯁꯟ ꯇꯧꯕꯥ ꯌꯥꯕꯥ ꯐꯤꯗꯕꯦꯛ ꯄꯤꯌꯨ꯫

ꯑꯩꯈꯣꯌꯅꯥ ꯈꯉꯏ ꯃꯗꯨꯗꯤ ꯍꯧꯖꯤꯛ ꯀ꯭ꯂꯥꯏꯟꯇ-ꯁꯥꯏꯗ ꯀꯁ꯭ꯇꯝ ꯚꯦꯂꯤꯗꯦꯁꯟ ꯁ꯭ꯇꯥꯏꯂꯁꯤꯡ ꯑꯃꯁꯨꯡ ꯇꯨꯂꯇꯤꯄꯁꯤꯡ ꯑꯁꯤ ꯑꯦꯛꯁꯦꯁꯤꯕꯜ ꯑꯣꯏꯗꯦ, ꯃꯔꯃꯗꯤ ꯃꯈꯣꯌ ꯑꯁꯤ ꯑꯦꯁꯤꯁ꯭ꯇꯦꯟꯇ ꯇꯦꯛꯅꯣꯂꯣꯖꯤꯁꯤꯡꯗꯥ ꯑꯦꯛꯁꯄꯣꯖ ꯇꯧꯗꯦ꯫ ꯑꯩꯈꯣꯌꯅꯥ ꯁꯣꯂꯨꯁꯟ ꯑꯃꯗꯥ ꯊꯕꯛ ꯇꯧꯔꯤꯉꯩꯗꯥ, ꯑꯩꯈꯣꯌꯅꯥ ꯁꯔꯚꯔ-ꯁꯥꯏꯗ ꯑꯣꯄꯁꯟ ꯅꯠꯔꯒꯥ ꯗꯤꯐꯣꯜꯇ ꯕ꯭ꯔꯥꯎꯖꯔ ꯚꯦꯂꯤꯗꯦꯁꯟ ꯃꯦꯊꯗ ꯑꯃꯥ ꯁꯤꯖꯤꯟꯅꯅꯕꯥ ꯄꯥꯎꯇꯥꯛ ꯄꯤꯒꯅꯤ꯫

ꯃꯁꯤ ꯀꯔꯝꯅꯥ ꯊꯕꯛ ꯇꯧꯕꯒꯦ꯫

ꯕꯨꯇꯁ꯭ꯠꯔꯥꯄꯀꯥ ꯂꯣꯌꯅꯅꯥ ꯐꯣꯔꯝ ꯚꯦꯂꯤꯗꯦꯁꯟ ꯑꯁꯤ ꯀꯔꯝꯅꯥ ꯊꯕꯛ ꯇꯧꯕꯒꯦ ꯍꯥꯌꯕꯗꯨ ꯃꯈꯥꯗꯥ ꯄꯤꯔꯤ:

  • HTML ꯐꯣꯔꯝ ꯚꯦꯂꯤꯗꯦꯁꯟ ꯑꯁꯤ ꯁꯤ.ꯑꯦꯁ.ꯑꯦꯁ.ꯀꯤ ꯁ꯭ꯌꯨꯗꯣ-ꯀ꯭ꯂꯥꯁ ꯑꯅꯤꯒꯤ ꯈꯨꯠꯊꯥꯡꯗꯥ ꯑꯦꯞꯂꯥꯏ ꯇꯧꯏ, :invalidꯑꯃꯁꯨꯡ :valid. ꯃꯁꯤ <input>, <select>, ꯑꯃꯁꯨꯡ <textarea>ꯑꯦꯂꯤꯃꯦꯟꯇꯁꯤꯡꯗꯥ ꯆꯠꯅꯩ꯫
  • :invalidꯕꯨꯠꯁ꯭ꯠꯔꯥꯄꯅꯥ ꯃꯃꯥ-ꯃꯄꯥ ꯀ꯭ꯂꯥꯁꯇꯥ ꯑꯃꯁꯨꯡ :validꯁ꯭ꯇꯥꯏꯂꯁꯤꯡ ꯁ꯭ꯀꯣꯞ ꯇꯧꯏ .was-validated, ꯃꯍꯧꯁꯥꯅꯥ <form>. ꯅꯠꯔꯕꯗꯤ, ꯚꯦꯜꯌꯨ ꯂꯩꯇꯕꯥ ꯃꯊꯧ ꯇꯥꯕꯥ ꯐꯤꯜꯗ ꯑꯃꯍꯦꯛꯇꯅꯥ ꯄꯦꯖ ꯂꯣꯗ ꯇꯧꯕꯗꯥ ꯑꯁꯣꯌꯕꯥ ꯑꯣꯏꯅꯥ ꯎꯠꯂꯤ. ꯃꯁꯤꯒꯤ ꯃꯑꯣꯡ ꯑꯁꯤꯅꯥ, ꯅꯍꯥꯛꯅꯥ ꯃꯈꯣꯌꯕꯨ ꯀꯗꯥꯏꯗꯥ ꯑꯦꯛꯇꯤꯚ ꯇꯧꯒꯗꯒꯦ ꯍꯥꯌꯕꯗꯨ ꯈꯅꯕꯥ ꯌꯥꯏ (ꯃꯍꯧꯁꯥꯅꯥ ꯐꯣꯔꯝ ꯁꯕꯃꯤꯁꯟ ꯇꯧꯅꯕꯥ ꯍꯣꯠꯅꯔꯕꯥ ꯃꯇꯨꯡꯗꯥ)꯫
  • ꯐꯣꯔꯝ ꯑꯗꯨꯒꯤ ꯃꯑꯣꯡ-ꯃꯇꯧ ꯑꯗꯨ ꯔꯤꯁꯦꯠ ꯇꯧꯅꯕꯥ (ꯈꯨꯗꯝ ꯑꯣꯏꯅꯥ, AJAX ꯁꯤꯖꯤꯟꯅꯗꯨꯅꯥ ꯗꯥꯏꯅꯥꯃꯤꯛ ꯑꯣꯏꯕꯥ ꯐꯣꯔꯝ ꯁꯕꯃꯤꯁꯅꯁꯤꯡꯒꯤ ꯑꯣꯏꯅꯗꯤ), ꯁꯕꯃꯤꯁꯟ ꯇꯧꯔꯕꯥ ꯃꯇꯨꯡꯗꯥ ꯑꯃꯨꯛ ꯍꯟꯅꯥ .was-validatedꯀ꯭ꯂꯥꯁ ꯑꯗꯨ ꯂꯧꯊꯣꯀꯎ꯫<form>
  • ꯐꯣꯂꯕꯦꯛ ꯑꯃꯥ ꯑꯣꯏꯅꯥ, .is-invalidꯑꯃꯁꯨꯡ ꯁꯔꯚꯔ-ꯁꯥꯏꯗ ꯚꯦꯂꯤꯗꯦꯁꯅꯒꯤꯗꯃꯛꯇꯥ.is-valid ꯁ꯭ꯌꯨꯗꯣ-ꯀ꯭ꯂꯥꯁꯤꯡꯒꯤ ꯃꯍꯨꯠꯇꯥ ꯀ꯭ꯂꯥꯁꯁꯤꯡ ꯁꯤꯖꯤꯟꯅꯕꯥ ꯌꯥꯏ . ꯃꯈꯣꯌꯅꯥ ꯃꯃꯥ-ꯃꯄꯥꯒꯤ ꯀ꯭ꯂꯥꯁ ꯑꯃꯥ ꯃꯊꯧ ꯇꯥꯗꯦ꯫.was-validated
  • CSSꯅꯥ ꯀꯔꯝꯅꯥ ꯊꯕꯛ ꯇꯧꯕꯒꯦ ꯍꯥꯌꯕꯗꯨꯗꯥ ꯑꯊꯤꯡꯕꯥ ꯂꯩꯕꯅꯥ ꯃꯔꯝ ꯑꯣꯏꯗꯨꯅꯥ, ꯑꯩꯈꯣꯌꯅꯥ (ꯍꯧꯖꯤꯛꯀꯤ ꯑꯣꯏꯅꯥ) <label>ꯀꯁ꯭ꯇꯝ ꯖꯥꯚꯥꯁ꯭ꯛꯔꯤꯞꯇꯀꯤ ꯃꯇꯦꯡ ꯌꯥꯑꯣꯗꯅꯥ DOMꯗꯥ ꯐꯣꯔꯝ ꯀꯟꯠꯔꯣꯜ ꯑꯃꯒꯤ ꯃꯃꯥꯡꯗꯥ ꯂꯥꯀꯄꯥ a ꯑꯃꯗꯥ ꯁ꯭ꯇꯥꯏꯂꯁꯤꯡ ꯑꯦꯞꯂꯥꯏ ꯇꯧꯕꯥ ꯉꯃꯗꯦ꯫
  • ꯃꯣꯗꯔꯟ ꯕ꯭ꯔꯥꯎꯖꯔ ꯄꯨꯝꯅꯃꯛꯅꯥ ꯀꯟꯠꯔꯣꯜ ꯚꯦꯂꯤꯗꯦꯁꯟ API , ꯐꯣꯔꯝ ꯀꯟꯠꯔꯣꯂꯁꯤꯡ ꯚꯦꯂꯤꯗꯦꯠ ꯇꯧꯅꯕꯒꯤꯗꯃꯛ ꯖꯥꯚꯥꯁ꯭ꯛꯔꯤꯞꯇ ꯃꯦꯊꯗꯁꯤꯡꯒꯤ ꯁꯤꯔꯤꯖ ꯑꯃꯥ ꯁꯄꯣꯔꯠ ꯇꯧꯏ꯫
  • ꯐꯤꯗꯕꯦꯛ ꯃꯦꯁꯦꯖꯁꯤꯡꯅꯥ ꯕ꯭ꯔꯥꯎꯖꯔ ꯗꯤꯐꯣꯜꯇꯁꯤꯡ (ꯕ꯭ꯔꯥꯎꯖꯔ ꯈꯨꯗꯤꯡꯃꯛꯀꯤ ꯑꯣꯏꯅꯥ ꯇꯣꯉꯥꯅꯕꯥ, ꯑꯃꯁꯨꯡ ꯁꯤ.ꯑꯦꯁ.ꯑꯦꯁ.ꯀꯤ ꯈꯨꯠꯊꯥꯡꯗꯥ ꯁ꯭ꯇꯥꯏꯜ ꯇꯧꯗꯕꯥ) ꯅꯠꯠꯔꯒꯥ ꯑꯍꯦꯅꯕꯥ HTML ꯑꯃꯁꯨꯡ ꯁꯤ.ꯑꯦꯁ.ꯑꯦꯁ.ꯀꯥ ꯂꯣꯌꯅꯅꯥ ꯑꯩꯈꯣꯌꯒꯤ ꯀꯁ꯭ꯇꯝ ꯐꯤꯗꯕꯦꯛ ꯁ꯭ꯇꯥꯏꯂꯁꯤꯡ ꯁꯤꯖꯤꯟꯅꯕꯥ ꯌꯥꯏ꯫
  • ꯅꯍꯥꯛꯅꯥ setCustomValidityꯖꯥꯚꯥꯁ꯭ꯛꯔꯤꯞꯇꯇꯥ ꯌꯥꯎꯕꯥ ꯀꯁ꯭ꯇꯝ ꯚꯦꯂꯤꯗꯤꯇꯤ ꯃꯦꯁꯦꯖꯁꯤꯡ ꯄꯤꯕꯥ ꯌꯥꯏ꯫

ꯃꯗꯨ ꯋꯥꯈꯂꯗꯥ ꯊꯃꯗꯨꯅꯥ, ꯑꯩꯈꯣꯌꯒꯤ ꯀꯁ꯭ꯇꯝ ꯐꯣꯔꯝ ꯚꯦꯂꯤꯗꯦꯁꯟ ꯁ꯭ꯇꯥꯏꯂꯁꯤꯡ, ꯑꯣꯄꯁꯅꯦꯜ ꯁꯔꯚꯔ-ꯁꯥꯏꯗ ꯀ꯭ꯂꯥꯁꯁꯤꯡ, ꯑꯃꯁꯨꯡ ꯕ꯭ꯔꯥꯎꯖꯔ ꯗꯤꯐꯣꯜꯇꯁꯤꯡꯒꯤꯗꯃꯛ ꯃꯈꯥꯗꯥ ꯄꯤꯔꯤꯕꯥ ꯗꯦꯃꯣꯁꯤꯡ ꯑꯁꯤ ꯈꯟꯅꯕꯤꯌꯨ꯫

ꯀꯁ꯭ꯇꯝ ꯁ꯭ꯇꯥꯏꯂꯁꯤꯡ꯫

ꯀꯁ꯭ꯇꯝ ꯕꯨꯇꯁ꯭ꯠꯔꯥꯞ ꯐꯣꯔꯝ ꯚꯦꯂꯤꯗꯦꯁꯟ ꯃꯦꯁꯦꯖꯁꯤꯡꯒꯤꯗꯃꯛ, ꯅꯍꯥꯛꯅꯥ novalidateꯅꯍꯥꯛꯀꯤ <form>. ꯃꯁꯤꯅꯥ ꯕ꯭ꯔꯥꯎꯖꯔ ꯗꯤꯐꯣꯜꯇ ꯐꯤꯗꯕꯦꯛ ꯇꯨꯂꯇꯤꯄꯁꯤꯡ ꯗꯤꯁꯦꯕꯜ ꯇꯧꯏ, ꯑꯗꯨꯕꯨ ꯍꯧꯖꯤꯀꯁꯨ ꯖꯥꯚꯥꯁ꯭ꯛꯔꯤꯞꯇꯇꯥ ꯐꯣꯔꯝ ꯚꯦꯂꯤꯗꯦꯁꯟ APIꯁꯤꯡꯒꯤ ꯑꯦꯛꯁꯦꯁ ꯄꯤꯔꯤ꯫ ꯃꯈꯥꯗꯥ ꯄꯤꯔꯤꯕꯥ ꯐꯣꯔꯝ ꯑꯁꯤ ꯄꯤꯁꯤꯟꯅꯕꯥ ꯍꯣꯠꯅꯒꯗꯕꯅꯤ; ꯑꯩꯈꯣꯌꯒꯤ ꯖꯥꯚꯥꯁ꯭ꯛꯔꯤꯞꯇꯅꯥ ꯁꯕꯃꯤꯠ ꯕꯇꯟ ꯑꯗꯨ ꯏꯟꯇꯔꯁꯦꯞ ꯇꯧꯒꯅꯤ ꯑꯃꯁꯨꯡ ꯑꯗꯣꯃꯗꯥ ꯐꯤꯗꯕꯦꯛ ꯔꯤꯂꯦ ꯇꯧꯒꯅꯤ꯫ ꯁꯕꯃꯤꯠ ꯇꯧꯅꯕꯥ ꯍꯣꯠꯅꯕꯗꯥ, ꯅꯍꯥꯛꯅꯥ ꯅꯍꯥꯛꯀꯤ ꯐꯣꯔꯝ ꯀꯟꯠꯔꯣꯂꯁꯤꯡꯗꯥ ꯑꯦꯞꯂꯥꯏ ꯇꯧꯕꯥ :invalidꯑꯃꯁꯨꯡ ꯁ꯭ꯇꯥꯏꯂꯁꯤꯡ ꯑꯗꯨ ꯎꯕꯥ ꯐꯪꯒꯅꯤ꯫:valid

ꯀꯁ꯭ꯇꯝ ꯐꯤꯗꯕꯦꯛ ꯁ꯭ꯇꯥꯏꯂꯁꯤꯡꯅꯥ ꯐꯤꯗꯕꯦꯛ ꯍꯦꯟꯅꯥ ꯐꯅꯥ ꯄꯥꯎ ꯐꯥꯑꯣꯅꯅꯕꯥ ꯀꯁ꯭ꯇꯝ ꯃꯆꯨ, ꯉꯃꯈꯩ, ꯐꯣꯀꯁ ꯁ꯭ꯇꯥꯏꯂꯁꯤꯡ, ꯑꯃꯁꯨꯡ ꯕꯦꯀꯒ꯭ꯔꯥꯎꯟꯗ ꯑꯥꯏꯀꯅꯁꯤꯡ ꯑꯦꯞꯂꯥꯏ ꯇꯧꯏ꯫ sꯒꯤꯗꯃꯛ ꯕꯦꯀꯒ꯭ꯔꯥꯎꯟꯗ ꯑꯥꯏꯀꯅꯁꯤꯡ <select>ꯑꯁꯤ .form-select..form-control

ꯑꯐꯕꯥ ꯑꯣꯏꯅꯥ ꯎꯕꯥ ꯐꯪꯏ!
ꯑꯐꯕꯥ ꯑꯣꯏꯅꯥ ꯎꯕꯥ ꯐꯪꯏ!
@
ꯆꯥꯅꯕꯤꯗꯨꯅꯥ ꯌꯨꯖꯔꯅꯦꯝ ꯑꯃꯥ ꯈꯜꯂꯨ꯫
ꯆꯥꯅꯕꯤꯗꯨꯅꯥ ꯆꯠꯅꯕꯥ ꯌꯥꯕꯥ ꯁꯍꯔ ꯑꯃꯥ ꯄꯤꯕꯤꯌꯨ꯫
ꯆꯥꯅꯕꯤꯗꯨꯅꯥ ꯆꯠꯅꯕꯥ ꯌꯥꯕꯥ ꯁ꯭ꯇꯦꯠ ꯑꯃꯥ ꯈꯜꯂꯨ꯫
ꯆꯥꯅꯕꯤꯗꯨꯅꯥ ꯆꯠꯅꯕꯥ ꯌꯥꯕꯥ ꯖꯤꯞ ꯑꯃꯥ ꯄꯤꯕꯤꯌꯨ꯫
ꯁꯕꯃꯤꯠ ꯇꯧꯗ꯭ꯔꯤꯉꯩꯒꯤ ꯃꯃꯥꯡꯗꯥ ꯅꯍꯥꯛꯅꯥ ꯌꯥꯅꯕꯥ ꯇꯥꯏ꯫
html ꯒꯤ ꯃꯇꯨꯡ ꯏꯟꯅꯥ ꯄꯤꯔꯤ꯫
<form class="row g-3 needs-validation" novalidate>
  <div class="col-md-4">
    <label for="validationCustom01" class="form-label">First name</label>
    <input type="text" class="form-control" id="validationCustom01" value="Mark" required>
    <div class="valid-feedback">
      Looks good!
    </div>
  </div>
  <div class="col-md-4">
    <label for="validationCustom02" class="form-label">Last name</label>
    <input type="text" class="form-control" id="validationCustom02" value="Otto" required>
    <div class="valid-feedback">
      Looks good!
    </div>
  </div>
  <div class="col-md-4">
    <label for="validationCustomUsername" class="form-label">Username</label>
    <div class="input-group has-validation">
      <span class="input-group-text" id="inputGroupPrepend">@</span>
      <input type="text" class="form-control" id="validationCustomUsername" aria-describedby="inputGroupPrepend" required>
      <div class="invalid-feedback">
        Please choose a username.
      </div>
    </div>
  </div>
  <div class="col-md-6">
    <label for="validationCustom03" class="form-label">City</label>
    <input type="text" class="form-control" id="validationCustom03" required>
    <div class="invalid-feedback">
      Please provide a valid city.
    </div>
  </div>
  <div class="col-md-3">
    <label for="validationCustom04" class="form-label">State</label>
    <select class="form-select" id="validationCustom04" required>
      <option selected disabled value="">Choose...</option>
      <option>...</option>
    </select>
    <div class="invalid-feedback">
      Please select a valid state.
    </div>
  </div>
  <div class="col-md-3">
    <label for="validationCustom05" class="form-label">Zip</label>
    <input type="text" class="form-control" id="validationCustom05" required>
    <div class="invalid-feedback">
      Please provide a valid zip.
    </div>
  </div>
  <div class="col-12">
    <div class="form-check">
      <input class="form-check-input" type="checkbox" value="" id="invalidCheck" required>
      <label class="form-check-label" for="invalidCheck">
        Agree to terms and conditions
      </label>
      <div class="invalid-feedback">
        You must agree before submitting.
      </div>
    </div>
  </div>
  <div class="col-12">
    <button class="btn btn-primary" type="submit">Submit form</button>
  </div>
</form>
// Example starter JavaScript for disabling form submissions if there are invalid fields
(() => {
  'use strict'

  // Fetch all the forms we want to apply custom Bootstrap validation styles to
  const forms = document.querySelectorAll('.needs-validation')

  // Loop over them and prevent submission
  Array.from(forms).forEach(form => {
    form.addEventListener('submit', event => {
      if (!form.checkValidity()) {
        event.preventDefault()
        event.stopPropagation()
      }

      form.classList.add('was-validated')
    }, false)
  })
})()

ꯕ꯭ꯔꯥꯎꯖꯔ ꯗꯤꯐꯣꯜꯇ ꯑꯣꯏ꯫

ꯀꯁ꯭ꯇꯝ ꯚꯦꯂꯤꯗꯦꯁꯟ ꯐꯤꯗꯕꯦꯛ ꯃꯦꯁꯦꯖꯁꯤꯡ ꯅꯠꯠꯔꯒꯥ ꯐꯣꯔꯝ ꯕꯤꯍꯦꯕꯤꯌꯔꯁꯤꯡ ꯍꯣꯡꯗꯣꯛꯅꯕꯥ ꯖꯥꯚꯥꯁ꯭ꯛꯔꯤꯞꯇ ꯏꯕꯗꯥ ꯄꯨꯛꯅꯤꯡ ꯆꯪꯗ꯭ꯔꯤꯕꯔꯥ? ꯄꯨꯝꯅꯃꯛ ꯑꯐꯕꯥ, ꯅꯍꯥꯛꯅꯥ ꯕ꯭ꯔꯥꯎꯖꯔꯒꯤ ꯗꯤꯐꯣꯜꯇꯁꯤꯡ ꯁꯤꯖꯤꯟꯅꯕꯥ ꯌꯥꯒꯅꯤ꯫ ꯃꯈꯥꯗꯥ ꯄꯤꯔꯤꯕꯥ ꯐꯣꯔꯝ ꯑꯁꯤ ꯁꯕꯃꯤꯠ ꯇꯧꯅꯕꯥ ꯍꯣꯠꯅꯧ꯫ ꯅꯍꯥꯛꯀꯤ ꯕ꯭ꯔꯥꯎꯖꯔ ꯑꯃꯁꯨꯡ ꯑꯣ.ꯑꯦꯁ.ꯀꯤ ꯃꯇꯨꯡ ꯏꯟꯅꯥ, ꯅꯍꯥꯛꯅꯥ ꯐꯤꯗꯕꯦꯀꯀꯤ ꯈꯔꯥ ꯇꯣꯉꯥꯅꯕꯥ ꯃꯑꯣꯡ ꯑꯃꯥ ꯎꯕꯥ ꯐꯪꯒꯅꯤ꯫

ꯍꯥꯌꯔꯤꯕꯥ ꯐꯤꯗꯕꯦꯛ ꯁ꯭ꯇꯥꯏꯂꯁꯤꯡ ꯑꯁꯤ CSSꯒꯥ ꯂꯣꯌꯅꯅꯥ ꯁ꯭ꯇꯥꯏꯜ ꯇꯧꯕꯥ ꯉꯃꯗ꯭ꯔꯕꯁꯨ, ꯅꯍꯥꯛꯅꯥ ꯍꯧꯖꯤꯀꯁꯨ ꯖꯥꯚꯥꯁ꯭ꯛꯔꯤꯞꯇꯀꯤ ꯈꯨꯠꯊꯥꯡꯗꯥ ꯐꯤꯗꯕꯦꯛ ꯇꯦꯛꯁꯠ ꯑꯗꯨ ꯀꯁ꯭ꯇꯃꯁ ꯇꯧꯕꯥ ꯌꯥꯏ꯫

@
html ꯒꯤ ꯃꯇꯨꯡ ꯏꯟꯅꯥ ꯄꯤꯔꯤ꯫
<form class="row g-3">
  <div class="col-md-4">
    <label for="validationDefault01" class="form-label">First name</label>
    <input type="text" class="form-control" id="validationDefault01" value="Mark" required>
  </div>
  <div class="col-md-4">
    <label for="validationDefault02" class="form-label">Last name</label>
    <input type="text" class="form-control" id="validationDefault02" value="Otto" required>
  </div>
  <div class="col-md-4">
    <label for="validationDefaultUsername" class="form-label">Username</label>
    <div class="input-group">
      <span class="input-group-text" id="inputGroupPrepend2">@</span>
      <input type="text" class="form-control" id="validationDefaultUsername"  aria-describedby="inputGroupPrepend2" required>
    </div>
  </div>
  <div class="col-md-6">
    <label for="validationDefault03" class="form-label">City</label>
    <input type="text" class="form-control" id="validationDefault03" required>
  </div>
  <div class="col-md-3">
    <label for="validationDefault04" class="form-label">State</label>
    <select class="form-select" id="validationDefault04" required>
      <option selected disabled value="">Choose...</option>
      <option>...</option>
    </select>
  </div>
  <div class="col-md-3">
    <label for="validationDefault05" class="form-label">Zip</label>
    <input type="text" class="form-control" id="validationDefault05" required>
  </div>
  <div class="col-12">
    <div class="form-check">
      <input class="form-check-input" type="checkbox" value="" id="invalidCheck2" required>
      <label class="form-check-label" for="invalidCheck2">
        Agree to terms and conditions
      </label>
    </div>
  </div>
  <div class="col-12">
    <button class="btn btn-primary" type="submit">Submit form</button>
  </div>
</form>

ꯁꯔꯚꯔ ꯁꯥꯏꯗꯇꯥ ꯂꯩ꯫

ꯑꯩꯈꯣꯌꯅꯥ ꯀ꯭ꯂꯥꯏꯟꯇ-ꯁꯥꯏꯗ ꯚꯦꯂꯤꯗꯦꯁꯟ ꯁꯤꯖꯤꯟꯅꯅꯕꯥ ꯄꯥꯎꯇꯥꯛ ꯄꯤꯔꯤ, ꯑꯗꯨꯕꯨ ꯀꯔꯤꯒꯨꯝꯕꯥ ꯅꯍꯥꯛꯅꯥ ꯁꯔꯚꯔ-ꯁꯥꯏꯗ ꯚꯦꯂꯤꯗꯦꯁꯟ ꯃꯊꯧ ꯇꯥꯔꯕꯗꯤ, ꯅꯍꯥꯛꯅꯥ .is-invalidꯑꯃꯁꯨꯡ .is-valid. .invalid-feedbackꯀ꯭ꯂꯥꯁꯁꯤꯡ ꯑꯁꯤꯒꯥ ꯂꯣꯌꯅꯅꯥ ꯃꯁꯤꯁꯨ ꯁꯄꯣꯔꯠ ꯇꯧꯏ ꯍꯥꯌꯕꯥ ꯈꯉꯕꯤꯌꯨ꯫

ꯑꯁꯣꯌꯕꯥ ꯐꯤꯜꯗꯁꯤꯡꯒꯤ ꯑꯣꯏꯅꯗꯤ, ꯑꯁꯣꯌꯕꯥ ꯐꯤꯗꯕꯦꯛ/ꯑꯦꯔꯥꯔ ꯃꯦꯁꯦꯖ ꯑꯗꯨ ꯁꯤꯖꯤꯟꯅꯔꯤꯕꯥ ꯃꯔꯤ ꯂꯩꯅꯕꯥ ꯐꯣꯔꯝ ꯐꯤꯜꯗ ꯑꯗꯨꯒꯥ ꯃꯔꯤ ꯂꯩꯅꯩ ꯍꯥꯌꯕꯥ ꯁꯣꯌꯗꯅꯥ ꯈꯪꯗꯣꯀꯎ aria-describedby(ꯑꯦꯠꯔꯤꯕꯤꯎꯠ ꯑꯁꯤꯅꯥ ꯑꯃꯗꯒꯤ ꯍꯦꯟꯅꯥ idꯔꯤꯐꯔꯦꯟꯁ ꯇꯧꯕꯥ ꯌꯥꯍꯜꯂꯤ ꯍꯥꯌꯕꯥ ꯈꯪꯖꯤꯅꯕꯤꯌꯨ, ꯀꯔꯤꯒꯨꯝꯕꯥ ꯐꯤꯜꯗ ꯑꯗꯨꯅꯥ ꯍꯥꯟꯅꯅꯥ ꯑꯍꯦꯅꯕꯥ ꯐꯣꯔꯝ ꯇꯦꯛꯁꯇꯇꯥ ꯇꯥꯀꯄꯤꯔꯕꯗꯤ)꯫

ꯕꯣꯔꯗꯔ ꯔꯦꯗꯤꯌꯁꯀꯥ ꯃꯔꯤ ꯂꯩꯅꯕꯥ ꯏꯁꯨꯁꯤꯡ ꯐꯤꯛꯁ ꯇꯧꯅꯕꯥ , ꯏꯅꯄꯨꯠ ꯒ꯭ꯔꯨꯄꯁꯤꯡꯅꯥ ꯑꯍꯦꯅꯕꯥ .has-validationꯀ꯭ꯂꯥꯁ ꯑꯃꯥ ꯃꯊꯧ ꯇꯥꯏ꯫

ꯑꯐꯕꯥ ꯑꯣꯏꯅꯥ ꯎꯕꯥ ꯐꯪꯏ!
ꯑꯐꯕꯥ ꯑꯣꯏꯅꯥ ꯎꯕꯥ ꯐꯪꯏ!
@
ꯆꯥꯅꯕꯤꯗꯨꯅꯥ ꯌꯨꯖꯔꯅꯦꯝ ꯑꯃꯥ ꯈꯜꯂꯨ꯫
ꯆꯥꯅꯕꯤꯗꯨꯅꯥ ꯆꯠꯅꯕꯥ ꯌꯥꯕꯥ ꯁꯍꯔ ꯑꯃꯥ ꯄꯤꯕꯤꯌꯨ꯫
ꯆꯥꯅꯕꯤꯗꯨꯅꯥ ꯆꯠꯅꯕꯥ ꯌꯥꯕꯥ ꯁ꯭ꯇꯦꯠ ꯑꯃꯥ ꯈꯜꯂꯨ꯫
ꯆꯥꯅꯕꯤꯗꯨꯅꯥ ꯆꯠꯅꯕꯥ ꯌꯥꯕꯥ ꯖꯤꯞ ꯑꯃꯥ ꯄꯤꯕꯤꯌꯨ꯫
ꯁꯕꯃꯤꯠ ꯇꯧꯗ꯭ꯔꯤꯉꯩꯒꯤ ꯃꯃꯥꯡꯗꯥ ꯅꯍꯥꯛꯅꯥ ꯌꯥꯅꯕꯥ ꯇꯥꯏ꯫
html ꯒꯤ ꯃꯇꯨꯡ ꯏꯟꯅꯥ ꯄꯤꯔꯤ꯫
<form class="row g-3">
  <div class="col-md-4">
    <label for="validationServer01" class="form-label">First name</label>
    <input type="text" class="form-control is-valid" id="validationServer01" value="Mark" required>
    <div class="valid-feedback">
      Looks good!
    </div>
  </div>
  <div class="col-md-4">
    <label for="validationServer02" class="form-label">Last name</label>
    <input type="text" class="form-control is-valid" id="validationServer02" value="Otto" required>
    <div class="valid-feedback">
      Looks good!
    </div>
  </div>
  <div class="col-md-4">
    <label for="validationServerUsername" class="form-label">Username</label>
    <div class="input-group has-validation">
      <span class="input-group-text" id="inputGroupPrepend3">@</span>
      <input type="text" class="form-control is-invalid" id="validationServerUsername" aria-describedby="inputGroupPrepend3 validationServerUsernameFeedback" required>
      <div id="validationServerUsernameFeedback" class="invalid-feedback">
        Please choose a username.
      </div>
    </div>
  </div>
  <div class="col-md-6">
    <label for="validationServer03" class="form-label">City</label>
    <input type="text" class="form-control is-invalid" id="validationServer03" aria-describedby="validationServer03Feedback" required>
    <div id="validationServer03Feedback" class="invalid-feedback">
      Please provide a valid city.
    </div>
  </div>
  <div class="col-md-3">
    <label for="validationServer04" class="form-label">State</label>
    <select class="form-select is-invalid" id="validationServer04" aria-describedby="validationServer04Feedback" required>
      <option selected disabled value="">Choose...</option>
      <option>...</option>
    </select>
    <div id="validationServer04Feedback" class="invalid-feedback">
      Please select a valid state.
    </div>
  </div>
  <div class="col-md-3">
    <label for="validationServer05" class="form-label">Zip</label>
    <input type="text" class="form-control is-invalid" id="validationServer05" aria-describedby="validationServer05Feedback" required>
    <div id="validationServer05Feedback" class="invalid-feedback">
      Please provide a valid zip.
    </div>
  </div>
  <div class="col-12">
    <div class="form-check">
      <input class="form-check-input is-invalid" type="checkbox" value="" id="invalidCheck3" aria-describedby="invalidCheck3Feedback" required>
      <label class="form-check-label" for="invalidCheck3">
        Agree to terms and conditions
      </label>
      <div id="invalidCheck3Feedback" class="invalid-feedback">
        You must agree before submitting.
      </div>
    </div>
  </div>
  <div class="col-12">
    <button class="btn btn-primary" type="submit">Submit form</button>
  </div>
</form>

ꯁꯄꯣꯔꯠ ꯇꯧꯔꯤꯕꯥ ꯑꯦꯂꯤꯃꯦꯟꯇꯁꯤꯡ꯫

ꯃꯈꯥꯗꯥ ꯄꯤꯔꯤꯕꯥ ꯐꯣꯔꯝ ꯀꯟꯠꯔꯣꯂꯁꯤꯡ ꯑꯃꯁꯨꯡ ꯀꯝꯄꯣꯅꯦꯟꯇꯁꯤꯡ ꯑꯁꯤꯒꯤꯗꯃꯛꯇꯥ ꯚꯦꯂꯤꯗꯦꯁꯟ ꯁ꯭ꯇꯥꯏꯂꯁꯤꯡ ꯐꯪꯏ:

  • <input>s ꯑꯃꯁꯨꯡ <textarea>sꯒꯥ ꯂꯣꯌꯅꯅꯥ .form-control( .form-controlꯏꯅꯄꯨꯠ ꯒ꯭ꯔꯨꯄꯁꯤꯡꯗꯥ ꯑꯃꯥ ꯐꯥꯑꯣꯕꯥ ꯌꯥꯑꯣꯅꯥ)
  • <select>ꯑꯦꯁ ꯑꯁꯤꯒꯥ ꯂꯣꯌꯅꯅꯥ꯫.form-select
  • .form-checkꯑꯦꯁ
ꯆꯥꯅꯕꯤꯗꯨꯅꯥ ꯇꯦꯛꯁꯠ ꯑꯦꯔꯤꯌꯥꯗꯥ ꯃꯦꯁꯦꯖ ꯑꯃꯥ ꯑꯦꯟꯇꯔ ꯇꯧꯕꯤꯌꯨ꯫
ꯈꯨꯗꯝ ꯑꯣꯏꯅꯥ ꯑꯁꯣꯌꯕꯥ ꯐꯤꯗꯕꯦꯛ ꯇꯦꯛꯁꯠ꯫
ꯑꯍꯦꯅꯕꯥ ꯈꯨꯗꯝ ꯑꯣꯏꯕꯥ ꯑꯁꯣꯌꯕꯥ ꯐꯤꯗꯕꯦꯛ ꯇꯦꯛꯁꯠ꯫
ꯈꯨꯗꯝ ꯑꯣꯏꯅꯥ ꯑꯁꯣꯌꯕꯥ ꯈꯅꯒꯠꯂꯕꯥ ꯐꯤꯗꯕꯦꯛ꯫
ꯈꯨꯗꯝ ꯑꯣꯏꯅꯥ ꯑꯁꯣꯌꯕꯥ ꯐꯣꯔꯝ ꯐꯥꯏꯜ ꯐꯤꯗꯕꯦꯛ꯫
html ꯒꯤ ꯃꯇꯨꯡ ꯏꯟꯅꯥ ꯄꯤꯔꯤ꯫
<form class="was-validated">
  <div class="mb-3">
    <label for="validationTextarea" class="form-label">Textarea</label>
    <textarea class="form-control" id="validationTextarea" placeholder="Required example textarea" required></textarea>
    <div class="invalid-feedback">
      Please enter a message in the textarea.
    </div>
  </div>

  <div class="form-check mb-3">
    <input type="checkbox" class="form-check-input" id="validationFormCheck1" required>
    <label class="form-check-label" for="validationFormCheck1">Check this checkbox</label>
    <div class="invalid-feedback">Example invalid feedback text</div>
  </div>

  <div class="form-check">
    <input type="radio" class="form-check-input" id="validationFormCheck2" name="radio-stacked" required>
    <label class="form-check-label" for="validationFormCheck2">Toggle this radio</label>
  </div>
  <div class="form-check mb-3">
    <input type="radio" class="form-check-input" id="validationFormCheck3" name="radio-stacked" required>
    <label class="form-check-label" for="validationFormCheck3">Or toggle this other radio</label>
    <div class="invalid-feedback">More example invalid feedback text</div>
  </div>

  <div class="mb-3">
    <select class="form-select" required aria-label="select example">
      <option value="">Open this select menu</option>
      <option value="1">One</option>
      <option value="2">Two</option>
      <option value="3">Three</option>
    </select>
    <div class="invalid-feedback">Example invalid select feedback</div>
  </div>

  <div class="mb-3">
    <input type="file" class="form-control" aria-label="file example" required>
    <div class="invalid-feedback">Example invalid form file feedback</div>
  </div>

  <div class="mb-3">
    <button class="btn btn-primary" type="submit" disabled>Submit form</button>
  </div>
</form>

ꯇꯨꯂꯇꯤꯄꯁꯤꯡ꯫

ꯀꯔꯤꯒꯨꯝꯕꯥ ꯅꯍꯥꯛꯀꯤ ꯐꯣꯔꯝ ꯂꯦꯑꯥꯎꯇꯅꯥ ꯑꯌꯥꯕꯥ ꯄꯤꯔꯕꯗꯤ, ꯅꯍꯥꯛꯅꯥ ꯁ꯭ꯇꯥꯏꯜ ꯇꯧꯔꯕꯥ ꯇꯨꯂꯇꯤꯞ ꯑꯃꯗꯥ ꯚꯦꯂꯤꯗꯦꯁꯟ ꯐꯤꯗꯕꯦꯛ ꯎꯠꯅꯕꯥ ꯀ꯭ꯂꯥꯁꯁꯤꯡ ꯑꯗꯨ .{valid|invalid}-feedbackꯀ꯭ꯂꯥꯁꯁꯤꯡꯒꯤꯗꯃꯛꯇꯥ ꯁꯣꯞ ꯇꯧꯕꯥ ꯌꯥꯏ꯫ ꯇꯨꯂꯇꯤꯞ ꯄꯣꯖꯤꯁꯟ ꯇꯧꯅꯕꯒꯤꯗꯃꯛ .{valid|invalid}-tooltipꯃꯗꯨꯗꯥ ꯃꯃꯥ-ꯃꯄꯥ ꯑꯃꯥ ꯁꯣꯌꯗꯅꯥ ꯂꯩꯍꯅꯒꯗꯕꯅꯤ꯫ position: relativeꯃꯈꯥꯗꯥ ꯄꯤꯔꯤꯕꯥ ꯈꯨꯗꯝ ꯑꯁꯤꯗꯥ, ꯑꯩꯈꯣꯌꯒꯤ ꯀꯣꯂꯝ ꯀ꯭ꯂꯥꯁꯁꯤꯡꯗꯥ ꯃꯁꯤ ꯍꯥꯟꯅꯅꯥ ꯂꯩꯔꯦ, ꯑꯗꯨꯕꯨ ꯅꯍꯥꯛꯀꯤ ꯄ꯭ꯔꯣꯖꯦꯛꯇ ꯑꯗꯨꯗꯥ ꯑꯇꯣꯞꯄꯥ ꯁꯦꯇꯑꯞ ꯑꯃꯥ ꯃꯊꯧ ꯇꯥꯕꯥ ꯌꯥꯏ꯫

ꯑꯐꯕꯥ ꯑꯣꯏꯅꯥ ꯎꯕꯥ ꯐꯪꯏ!
ꯑꯐꯕꯥ ꯑꯣꯏꯅꯥ ꯎꯕꯥ ꯐꯪꯏ!
@
ꯆꯥꯅꯕꯤꯗꯨꯅꯥ ꯑꯈꯟꯅꯕꯥ ꯑꯃꯁꯨꯡ ꯆꯠꯅꯕꯥ ꯌꯥꯕꯥ ꯌꯨꯖꯔꯅꯦꯝ ꯑꯃꯥ ꯈꯜꯂꯨ꯫
ꯆꯥꯅꯕꯤꯗꯨꯅꯥ ꯆꯠꯅꯕꯥ ꯌꯥꯕꯥ ꯁꯍꯔ ꯑꯃꯥ ꯄꯤꯕꯤꯌꯨ꯫
ꯆꯥꯅꯕꯤꯗꯨꯅꯥ ꯆꯠꯅꯕꯥ ꯌꯥꯕꯥ ꯁ꯭ꯇꯦꯠ ꯑꯃꯥ ꯈꯜꯂꯨ꯫
ꯆꯥꯅꯕꯤꯗꯨꯅꯥ ꯆꯠꯅꯕꯥ ꯌꯥꯕꯥ ꯖꯤꯞ ꯑꯃꯥ ꯄꯤꯕꯤꯌꯨ꯫
html ꯒꯤ ꯃꯇꯨꯡ ꯏꯟꯅꯥ ꯄꯤꯔꯤ꯫
<form class="row g-3 needs-validation" novalidate>
  <div class="col-md-4 position-relative">
    <label for="validationTooltip01" class="form-label">First name</label>
    <input type="text" class="form-control" id="validationTooltip01" value="Mark" required>
    <div class="valid-tooltip">
      Looks good!
    </div>
  </div>
  <div class="col-md-4 position-relative">
    <label for="validationTooltip02" class="form-label">Last name</label>
    <input type="text" class="form-control" id="validationTooltip02" value="Otto" required>
    <div class="valid-tooltip">
      Looks good!
    </div>
  </div>
  <div class="col-md-4 position-relative">
    <label for="validationTooltipUsername" class="form-label">Username</label>
    <div class="input-group has-validation">
      <span class="input-group-text" id="validationTooltipUsernamePrepend">@</span>
      <input type="text" class="form-control" id="validationTooltipUsername" aria-describedby="validationTooltipUsernamePrepend" required>
      <div class="invalid-tooltip">
        Please choose a unique and valid username.
      </div>
    </div>
  </div>
  <div class="col-md-6 position-relative">
    <label for="validationTooltip03" class="form-label">City</label>
    <input type="text" class="form-control" id="validationTooltip03" required>
    <div class="invalid-tooltip">
      Please provide a valid city.
    </div>
  </div>
  <div class="col-md-3 position-relative">
    <label for="validationTooltip04" class="form-label">State</label>
    <select class="form-select" id="validationTooltip04" required>
      <option selected disabled value="">Choose...</option>
      <option>...</option>
    </select>
    <div class="invalid-tooltip">
      Please select a valid state.
    </div>
  </div>
  <div class="col-md-3 position-relative">
    <label for="validationTooltip05" class="form-label">Zip</label>
    <input type="text" class="form-control" id="validationTooltip05" required>
    <div class="invalid-tooltip">
      Please provide a valid zip.
    </div>
  </div>
  <div class="col-12">
    <button class="btn btn-primary" type="submit">Submit form</button>
  </div>
</form>

ꯁꯥꯁꯁ ꯇꯧꯕꯥ꯫

ꯚꯦꯔꯤꯑꯦꯕꯂꯁꯤꯡ꯫

$form-feedback-margin-top:          $form-text-margin-top;
$form-feedback-font-size:           $form-text-font-size;
$form-feedback-font-style:          $form-text-font-style;
$form-feedback-valid-color:         $success;
$form-feedback-invalid-color:       $danger;

$form-feedback-icon-valid-color:    $form-feedback-valid-color;
$form-feedback-icon-valid:          url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 8 8'><path fill='#{$form-feedback-icon-valid-color}' d='M2.3 6.73.6 4.53c-.4-1.04.46-1.4 1.1-.8l1.1 1.4 3.4-3.8c.6-.63 1.6-.27 1.2.7l-4 4.6c-.43.5-.8.4-1.1.1z'/></svg>");
$form-feedback-icon-invalid-color:  $form-feedback-invalid-color;
$form-feedback-icon-invalid:        url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12' width='12' height='12' fill='none' stroke='#{$form-feedback-icon-invalid-color}'><circle cx='6' cy='6' r='4.5'/><path stroke-linejoin='round' d='M5.8 3.6h.4L6 6.5z'/><circle cx='6' cy='8.2' r='.6' fill='#{$form-feedback-icon-invalid-color}' stroke='none'/></svg>");

ꯃꯤꯛꯁꯅꯁꯤꯡ꯫

ꯃꯤꯛꯁꯤꯟ ꯑꯅꯤ ꯄꯨꯟꯅꯥ ꯄꯨꯅꯁꯤꯜꯂꯤ, ꯑꯩꯈꯣꯌꯒꯤ ꯂꯨꯄꯀꯤ ꯈꯨꯠꯊꯥꯡꯗꯥ , ꯑꯩꯈꯣꯌꯒꯤ ꯐꯣꯔꯝ ꯚꯦꯂꯤꯗꯦꯁꯟ ꯐꯤꯗꯕꯦꯛ ꯁ꯭ꯇꯥꯏꯂꯁꯤꯡ ꯁꯦꯃꯒꯠꯅꯕꯥ꯫

@mixin form-validation-state-selector($state) {
  @if ($state == "valid" or $state == "invalid") {
    .was-validated #{if(&, "&", "")}:#{$state},
    #{if(&, "&", "")}.is-#{$state} {
      @content;
    }
  } @else {
    #{if(&, "&", "")}.is-#{$state} {
      @content;
    }
  }
}

@mixin form-validation-state(
  $state,
  $color,
  $icon,
  $tooltip-color: color-contrast($color),
  $tooltip-bg-color: rgba($color, $form-feedback-tooltip-opacity),
  $focus-box-shadow: 0 0 $input-btn-focus-blur $input-focus-width rgba($color, $input-btn-focus-color-opacity)
) {
  .#{$state}-feedback {
    display: none;
    width: 100%;
    margin-top: $form-feedback-margin-top;
    @include font-size($form-feedback-font-size);
    font-style: $form-feedback-font-style;
    color: $color;
  }

  .#{$state}-tooltip {
    position: absolute;
    top: 100%;
    z-index: 5;
    display: none;
    max-width: 100%; // Contain to parent when possible
    padding: $form-feedback-tooltip-padding-y $form-feedback-tooltip-padding-x;
    margin-top: .1rem;
    @include font-size($form-feedback-tooltip-font-size);
    line-height: $form-feedback-tooltip-line-height;
    color: $tooltip-color;
    background-color: $tooltip-bg-color;
    @include border-radius($form-feedback-tooltip-border-radius);
  }

  @include form-validation-state-selector($state) {
    ~ .#{$state}-feedback,
    ~ .#{$state}-tooltip {
      display: block;
    }
  }

  .form-control {
    @include form-validation-state-selector($state) {
      border-color: $color;

      @if $enable-validation-icons {
        padding-right: $input-height-inner;
        background-image: escape-svg($icon);
        background-repeat: no-repeat;
        background-position: right $input-height-inner-quarter center;
        background-size: $input-height-inner-half $input-height-inner-half;
      }

      &:focus {
        border-color: $color;
        box-shadow: $focus-box-shadow;
      }
    }
  }

  // stylelint-disable-next-line selector-no-qualifying-type
  textarea.form-control {
    @include form-validation-state-selector($state) {
      @if $enable-validation-icons {
        padding-right: $input-height-inner;
        background-position: top $input-height-inner-quarter right $input-height-inner-quarter;
      }
    }
  }

  .form-select {
    @include form-validation-state-selector($state) {
      border-color: $color;

      @if $enable-validation-icons {
        &:not([multiple]):not([size]),
        &:not([multiple])[size="1"] {
          padding-right: $form-select-feedback-icon-padding-end;
          background-image: escape-svg($form-select-indicator), escape-svg($icon);
          background-position: $form-select-bg-position, $form-select-feedback-icon-position;
          background-size: $form-select-bg-size, $form-select-feedback-icon-size;
        }
      }

      &:focus {
        border-color: $color;
        box-shadow: $focus-box-shadow;
      }
    }
  }

  .form-control-color {
    @include form-validation-state-selector($state) {
      @if $enable-validation-icons {
        width: add($form-color-width, $input-height-inner);
      }
    }
  }

  .form-check-input {
    @include form-validation-state-selector($state) {
      border-color: $color;

      &:checked {
        background-color: $color;
      }

      &:focus {
        box-shadow: $focus-box-shadow;
      }

      ~ .form-check-label {
        color: $color;
      }
    }
  }
  .form-check-inline .form-check-input {
    ~ .#{$state}-feedback {
      margin-left: .5em;
    }
  }

  .input-group {
    > .form-control:not(:focus),
    > .form-select:not(:focus),
    > .form-floating:not(:focus-within) {
      @include form-validation-state-selector($state) {
        @if $state == "valid" {
          z-index: 3;
        } @else if $state == "invalid" {
          z-index: 4;
        }
      }
    }
  }
}

ꯃꯦꯞ ꯇꯧꯕꯥ꯫

ꯃꯁꯤ ꯚꯦꯂꯤꯗꯦꯁꯟ ꯁꯥꯁ ꯃꯦꯄꯅꯤ _variables.scss. ꯇꯣꯉꯥꯟ-ꯇꯣꯉꯥꯅꯕꯥ ꯅꯠꯠꯔꯒꯥ ꯑꯍꯦꯅꯕꯥ ꯁ꯭ꯇꯦꯇꯁꯤꯡ ꯁꯦꯃꯒꯠꯅꯕꯥ ꯃꯁꯤ ꯑꯣꯚꯔꯔꯥꯏꯗ ꯇꯧꯕꯥ ꯅꯠꯠꯔꯒꯥ ꯑꯦꯛꯁꯇꯦꯟꯗ ꯇꯧꯕꯥ꯫

$form-validation-states: (
  "valid": (
    "color": $form-feedback-valid-color,
    "icon": $form-feedback-icon-valid
  ),
  "invalid": (
    "color": $form-feedback-invalid-color,
    "icon": $form-feedback-icon-invalid
  )
);

ꯃꯦꯄꯁꯤꯡꯒꯤ $form-validation-statesꯇꯨꯂꯇꯤꯄꯁꯤꯡ ꯑꯃꯁꯨꯡ ꯐꯣꯀꯁ ꯁ꯭ꯇꯥꯏꯂꯁꯤꯡ ꯑꯣꯚꯔꯔꯥꯏꯗ ꯇꯧꯅꯕꯥ ꯑꯣꯄꯁꯅꯦꯜ ꯄꯦꯔꯥꯃꯤꯇꯔ ꯑꯍꯨꯝ ꯌꯥꯑꯣꯕꯥ ꯌꯥꯏ꯫

ꯀꯤꯁꯤ

$form-validation-statesꯑꯩꯈꯣꯌꯒꯤ ꯚꯦꯂꯤꯗꯦꯁꯟ ꯁ꯭ꯇꯥꯏꯂꯁꯤꯡ ꯁꯦꯃꯒꯠꯅꯕꯥ ꯃꯦꯞ ꯚꯦꯜꯌꯨꯁꯤꯡꯒꯤ ꯃꯊꯛꯇꯥ ꯏꯇꯤꯔꯦꯠ ꯇꯧꯅꯕꯥ ꯁꯤꯖꯤꯟꯅꯩ꯫ ꯃꯊꯛꯀꯤ ꯁꯥꯁ ꯃꯦꯞ ꯑꯁꯤꯗꯥ ꯃꯣꯗꯤꯐꯤꯀꯦꯁꯟ ꯑꯃꯍꯦꯛꯇꯕꯨ ꯂꯨꯞ ꯑꯁꯤꯒꯤ ꯈꯨꯠꯊꯥꯡꯗꯥ ꯅꯍꯥꯛꯀꯤ ꯀꯝꯄꯥꯏꯜ ꯇꯧꯔꯕꯥ ꯁꯤ.ꯑꯦꯁ.ꯑꯦꯁ.ꯇꯥ ꯔꯤꯐ꯭ꯂꯦꯛꯇ ꯇꯧꯒꯅꯤ꯫

@each $state, $data in $form-validation-states {
  @include form-validation-state($state, $data...);
}

ꯀꯁ꯭ꯇꯃꯁ ꯇꯧꯕꯥ꯫

$form-validation-statesꯚꯦꯂꯤꯗꯦꯁꯟ ꯁ꯭ꯇꯦꯇꯁꯤꯡ ꯑꯁꯤ ꯃꯦꯞ ꯑꯁꯤꯒꯥ ꯂꯣꯌꯅꯅꯥ ꯁꯥꯁꯀꯤ ꯈꯨꯠꯊꯥꯡꯗꯥ ꯀꯁ꯭ꯇꯃꯁ ꯇꯧꯕꯥ ꯌꯥꯏ꯫ ꯑꯩꯈꯣꯌꯒꯤ _variables.scssꯐꯥꯏꯂꯗꯥ ꯂꯩꯕꯥ, ꯁꯥꯁ ꯃꯦꯞ ꯑꯁꯤ ꯑꯩꯈꯣꯌꯅꯥ ꯃꯇꯧ ꯀꯔꯝꯅꯥ ꯗꯤꯐꯣꯜꯇ valid/ invalidꯚꯦꯂꯤꯗꯦꯁꯟ ꯁ꯭ꯇꯦꯠꯁꯤꯡ ꯁꯦꯃꯒꯠꯄꯒꯦ ꯍꯥꯌꯕꯗꯨꯅꯤ꯫ ꯔꯥꯖ꯭ꯌ ꯈꯨꯗꯤꯡꯃꯛꯀꯤ ꯃꯆꯨ, ꯑꯥꯏꯀꯟ, ꯇꯨꯂꯇꯤꯄꯀꯤ ꯃꯆꯨ, ꯑꯃꯁꯨꯡ ꯐꯣꯀꯁ ꯁꯦꯟꯗꯣꯡ ꯀꯁ꯭ꯇꯃꯁ ꯇꯧꯅꯕꯥ ꯅꯦꯁ꯭ꯇꯦꯗ ꯃꯦꯞ ꯑꯃꯥ ꯌꯥꯑꯣꯔꯤ꯫ ꯑꯇꯣꯞꯄꯥ ꯔꯥꯖ꯭ꯌ ꯑꯃꯠꯇꯥ ꯕ꯭ꯔꯥꯎꯖꯔꯁꯤꯡꯅꯥ ꯁꯄꯣꯔꯠ ꯇꯧꯗ꯭ꯔꯤꯉꯩꯗꯥ, ꯀꯁ꯭ꯇꯝ ꯁ꯭ꯇꯥꯏꯂꯁꯤꯡ ꯁꯤꯖꯤꯟꯅꯔꯤꯕꯥ ꯃꯤꯑꯣꯏꯁꯤꯡꯅꯥ ꯍꯦꯟꯅꯥ ꯀꯝꯞꯂꯦꯛꯁ ꯑꯣꯏꯕꯥ ꯐꯣꯔꯝ ꯐꯤꯗꯕꯦꯛ ꯐꯖꯅꯥ ꯍꯥꯄꯆꯤꯅꯕꯥ ꯌꯥꯏ꯫