Skip to main content
Participant
Feb 21, 2023 8:05 PM UTC
Question

Adding placeholder text to formatted text field

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 is closed to new replies. Start a new post to keep the conversation going.

4 replies

try67
Community Expert
Community Expert
Feb 21, 2023 8:23 PM UTC

Use tooltip text.

Translate
Will_ZAuthor
Participant
Feb 21, 2023 8:47 PM UTC

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.

Translate
try67
Community Expert
Community Expert
Feb 21, 2023 8:52 PM UTC

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.

Translate