Skip to main content
Participant
February 21, 2023
Question

Adding placeholder text to formatted text field

  • February 21, 2023
  • 1 reply
  • 936 views

Hello,

I have a text field formatted as a "date" or "mmmm d, yyyy" (or for example, "February 21, 2023").

However, I cannot use my normal way of applying placeholder text or that is, the Default Value, as I recieve the error "The defualt value does not match the format (Date) specified". 

 

Is there a simple way to add placeholder texts to a formatted field?

 

Apologies as I am quite new at this - many thanks for any help.

This topic has been closed for replies.

1 reply

try67
Community Expert
Community Expert
February 21, 2023

Use tooltip text.

Will_ZAuthor
Participant
February 21, 2023

Thank you - I suppose this would be the easiest way. I was just hoping for visible text (that would not be printed) so that this particular field would not be missed.

try67
Community Expert
Community Expert
February 21, 2023

You can use a read-only, non-printable text field next to the editable one with the instructional text, and a script to show it when the first field gains focus, and hide it when it loses the focus... Not sure if it's worth the effort of implementing it, though.