CLDC-1176: update hint and error text
@ -3,6 +3,6 @@
<%= f.govuk_date_field question.id.to_sym,
caption: caption(caption_text, page_header, conditional),
legend: legend(question, page_header, conditional),
hint: { text: question.hint_text&.html_safe || "For example, 27 3 2021." },
hint: { text: question.hint_text&.html_safe || "For example, 1 9 2022." },
width: 20,
**stimulus_html_attributes(question) %>
@ -818,7 +818,7 @@
"voiddate": {
"check_answer_label": "Void or renewal date",
"header": "What is the void or renewal date?",
"hint_text": "For example, 27 3 2021.",
"hint_text": "For example, 1 9 2022.",
"type": "date"
}
},
@ -917,7 +917,7 @@
"mrcdate": {
"check_answer_label": "Completion date of repairs",
"header": "When were the repairs completed?",
@ -41,7 +41,7 @@ en:
numeric:
valid: "%{field} must be between %{min} and %{max}"
date:
invalid_date: "Please enter a valid date"
invalid_date: "Enter a date in the correct format, for example 1 9 2022"
outside_collection_window: "Date must be within the current collection windows"
postcode: "Enter a postcode in the correct format, for example AA1 1AA"
email: