field-textarea
النموذج الحقول التي يكتب فيها الشخص، في الحالات التي يضعها فيها نموذج حقيقي. كل واحد منها داخل rst-box بحشوة، لأن هذه هي البطاقة التي يوضع فيها النموذج.
غلاف field-text حول عنصر textarea.
كل مثال يعمل فعلًا، لكن روابطه لا تؤدي إلى أي مكان. يعرض HTML الترميز الجاهز للنسخ.
مجرّد
ضع هذا داخل <section rst-box><form rst-form>.
<div rst-field >
<label rst-field-label for ="ta_bare" >ملاحظات</label >
<textarea rst-textarea id ="ta_bare" name ="ta_bare" rows ="3" ></textarea >
</div >
مع تلميح
ضع هذا داخل <section rst-box><form rst-form>.
<div rst-field >
<label rst-field-label for ="ta_hint" >نبذة</label >
<textarea rst-textarea id ="ta_hint" name ="ta_hint" rows ="3" aria-describedby ="ta_hint-hint" ></textarea >
<small rst-field-hint id ="ta_hint-hint" >يظهر في ملفك الشخصي.</small >
</div >
مع خطأ
ضع هذا داخل <section rst-box><form rst-form>.
<div rst-field >
<label rst-field-label for ="ta_error" >الملخص</label >
<textarea rst-textarea id ="ta_error" name ="ta_error" rows ="3" aria-invalid ="true" aria-describedby ="ta_error-error" >…</textarea >
<small rst-field-error id ="ta_error-error" >يحتاج الملخص إلى عشرين حرفًا على الأقل.</small >
</div >
مطلوب
ضع هذا داخل <section rst-box><form rst-form>.
<div rst-field >
<label rst-field-label for ="ta_required" >سبب الاسترداد <span rst-field-required aria-hidden ="true" >*</span ></label >
<textarea rst-textarea id ="ta_required" name ="ta_required" rows ="3" required ></textarea >
</div >