Le champ de saisie de date fixe reprend trois champs de saisie de texte.
<fieldset class="fr-fieldset" id="date-4829" aria-labelledby="date-4829-legend date-4829-messages">
<legend class="fr-fieldset__legend--regular fr-fieldset__legend" id="date-4829-legend">
Date de naissance
<span class="fr-hint-text">Texte de description additionnel</span>
</legend>
<div class="fr-fieldset__element fr-fieldset__element--inline fr-fieldset__element--number">
<div class="fr-input-group">
<label class="fr-label" for="date-4829-bday-day">
Jour
<span class="fr-hint-text">Exemple : 14</span>
</label>
<input class="fr-input" name="day" autocomplete="bday-day" id="date-4829-bday-day" type="text">
</div>
</div>
<div class="fr-fieldset__element fr-fieldset__element--inline fr-fieldset__element--number">
<div class="fr-input-group">
<label class="fr-label" for="date-4829-bday-month">
Mois
<span class="fr-hint-text">Exemple : 12</span>
</label>
<input class="fr-input" name="month" autocomplete="bday-month" id="date-4829-bday-month" type="text">
</div>
</div>
<div class="fr-fieldset__element fr-fieldset__element--inline fr-fieldset__element--inline-grow fr-fieldset__element--year">
<div class="fr-input-group">
<label class="fr-label" for="date-4829-bday-year">
Année
<span class="fr-hint-text">Exemple : 1984</span>
</label>
<input class="fr-input" name="year" autocomplete="bday-year" id="date-4829-bday-year" type="text">
</div>
</div>
<div class="fr-messages-group" id="date-4829-messages" aria-live="assertive">
</div>
</fieldset>
<fieldset class="fr-fieldset fr-fieldset--error" id="date-error-4832" role="group" aria-labelledby="date-error-4832-legend date-error-4832-messages">
<legend class="fr-fieldset__legend--regular fr-fieldset__legend" id="date-error-4832-legend">
Date de naissance
<span class="fr-hint-text">Texte de description additionnel</span>
</legend>
<div class="fr-fieldset__element fr-fieldset__element--inline fr-fieldset__element--number">
<div class="fr-input-group">
<label class="fr-label" for="date-error-4832-bday-day">
Jour
<span class="fr-hint-text">Exemple : 14</span>
</label>
<input class="fr-input" name="day" autocomplete="bday-day" id="date-error-4832-bday-day" type="text">
</div>
</div>
<div class="fr-fieldset__element fr-fieldset__element--inline fr-fieldset__element--number">
<div class="fr-input-group">
<label class="fr-label" for="date-error-4832-bday-month">
Mois
<span class="fr-hint-text">Exemple : 12</span>
</label>
<input class="fr-input" name="month" autocomplete="bday-month" id="date-error-4832-bday-month" type="text">
</div>
</div>
<div class="fr-fieldset__element fr-fieldset__element--inline fr-fieldset__element--inline-grow fr-fieldset__element--year">
<div class="fr-input-group">
<label class="fr-label" for="date-error-4832-bday-year">
Année
<span class="fr-hint-text">Exemple : 1984</span>
</label>
<input class="fr-input" name="year" autocomplete="bday-year" id="date-error-4832-bday-year" type="text">
</div>
</div>
<div class="fr-messages-group" id="date-error-4832-messages" aria-live="assertive">
<p class="fr-message fr-message--error" id="date-error-4832-message-error-1">Le jour est invalide</p>
<p class="fr-message fr-message--error" id="date-error-4832-message-error-2">Le mois est invalide</p>
<p class="fr-message fr-message--error" id="date-error-4832-message-error-3">L’année est invalide</p>
</div>
</fieldset>
<fieldset class="fr-fieldset fr-fieldset--error" id="date-error-4835" role="group" aria-labelledby="date-error-4835-legend date-error-4835-messages">
<legend class="fr-fieldset__legend--regular fr-fieldset__legend" id="date-error-4835-legend">
Date de naissance
<span class="fr-hint-text">Texte de description additionnel</span>
</legend>
<div class="fr-fieldset__element fr-fieldset__element--inline fr-fieldset__element--number">
<div class="fr-input-group">
<label class="fr-label" for="date-error-4835-bday-day">
Jour
<span class="fr-hint-text">Exemple : 14</span>
</label>
<input class="fr-input" name="day" autocomplete="bday-day" id="date-error-4835-bday-day" type="text">
</div>
</div>
<div class="fr-fieldset__element fr-fieldset__element--inline fr-fieldset__element--number">
<div class="fr-input-group">
<label class="fr-label" for="date-error-4835-bday-month">
Mois
<span class="fr-hint-text">Exemple : 12</span>
</label>
<input class="fr-input" name="month" autocomplete="bday-month" id="date-error-4835-bday-month" type="text">
</div>
</div>
<div class="fr-fieldset__element fr-fieldset__element--inline fr-fieldset__element--inline-grow fr-fieldset__element--year">
<div class="fr-input-group">
<label class="fr-label" for="date-error-4835-bday-year">
Année
<span class="fr-hint-text">Exemple : 1984</span>
</label>
<input class="fr-input" name="year" autocomplete="bday-year" id="date-error-4835-bday-year" type="text">
</div>
</div>
<div class="fr-messages-group" id="date-error-4835-messages" aria-live="assertive">
<p class="fr-message fr-message--error" id="date-error-4835-message-error">La date est postérieure à aujourd’hui</p>
</div>
</fieldset>