Le champ de saisie de date fixe reprend trois champs de saisie de texte.
<fieldset class="fr-fieldset" id="date-1600" aria-labelledby="date-1600-legend date-1600-messages">
<legend class="fr-fieldset__legend--regular fr-fieldset__legend" id="date-1600-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-1600-bday-day">
Jour
<span class="fr-hint-text">Exemple : 14</span>
</label>
<input class="fr-input" name="day" id="date-1600-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-1600-bday-month">
Mois
<span class="fr-hint-text">Exemple : 12</span>
</label>
<input class="fr-input" name="month" id="date-1600-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-1600-bday-year">
Année
<span class="fr-hint-text">Exemple : 1984</span>
</label>
<input class="fr-input" name="year" id="date-1600-bday-year" type="text">
</div>
</div>
<div class="fr-messages-group" id="date-1600-messages" aria-live="assertive">
</div>
</fieldset>
<fieldset class="fr-fieldset fr-fieldset--error" id="date-error-1603" role="group" aria-labelledby="date-error-1603-legend date-error-1603-messages">
<legend class="fr-fieldset__legend--regular fr-fieldset__legend" id="date-error-1603-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-1603-bday-day">
Jour
<span class="fr-hint-text">Exemple : 14</span>
</label>
<input class="fr-input" name="day" id="date-error-1603-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-1603-bday-month">
Mois
<span class="fr-hint-text">Exemple : 12</span>
</label>
<input class="fr-input" name="month" id="date-error-1603-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-1603-bday-year">
Année
<span class="fr-hint-text">Exemple : 1984</span>
</label>
<input class="fr-input" name="year" id="date-error-1603-bday-year" type="text">
</div>
</div>
<div class="fr-messages-group" id="date-error-1603-messages" aria-live="assertive">
<p class="fr-message fr-message--error" id="date-error-1603-message-error-1">Le jour est invalide</p>
<p class="fr-message fr-message--error" id="date-error-1603-message-error-2">Le mois est invalide</p>
<p class="fr-message fr-message--error" id="date-error-1603-message-error-3">L’année est invalide</p>
</div>
</fieldset>
<fieldset class="fr-fieldset fr-fieldset--error" id="date-error-1606" role="group" aria-labelledby="date-error-1606-legend date-error-1606-messages">
<legend class="fr-fieldset__legend--regular fr-fieldset__legend" id="date-error-1606-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-1606-bday-day">
Jour
<span class="fr-hint-text">Exemple : 14</span>
</label>
<input class="fr-input" name="day" id="date-error-1606-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-1606-bday-month">
Mois
<span class="fr-hint-text">Exemple : 12</span>
</label>
<input class="fr-input" name="month" id="date-error-1606-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-1606-bday-year">
Année
<span class="fr-hint-text">Exemple : 1984</span>
</label>
<input class="fr-input" name="year" id="date-error-1606-bday-year" type="text">
</div>
</div>
<div class="fr-messages-group" id="date-error-1606-messages" aria-live="assertive">
<p class="fr-message fr-message--error" id="date-error-1606-message-error">La date est postérieure à aujourd’hui</p>
</div>
</fieldset>