Back to design tips
Forms & inputs

Tell people which date will work

A loan starts June 18. Its error message can supply the earliest valid return date.

Compare the designs

Comparison view
Exhibit loan
Pickup
06 / 18
Return
06 / 16
Submission failed
Before

“Submission failed” leaves both dates in doubt.

Exhibit loan
Pickup
06 / 18
Return
06 / 16
Choose June 18 or later.
After

The return field is marked and the message below gives the first valid date.

Try it on your page

  1. Keep the entered values and place the message at the failing field.
  2. Compute the real boundary from the current input.
  3. Write the fix as an action and associate the message with the field.
Check the entire exhibition-loan form
  • Group borrower, artwork, and dates. Tab through the form and make sure checkout precedes return.
  • Keep both date labels outside their controls. Mark optional notes individually and put format examples beside the relevant fields.
  • Offer a picker for dates and an email keyboard for the contact. Show gallery pickup and courier delivery as two visible choices.
  • If notes have a character limit, show the remaining allowance as the user types. Paste a long note and check that its text survives for editing.
  • Omit the contact and enter an invalid date together. Check that each problem appears beside its field and the artwork details survive.
  • End with one prominent Submit loan request action. Keep Save draft secondary and show the last saved time after it runs.