Skip to main content
Participant
February 21, 2023
질문

Adding placeholder text to formatted text field

  • February 21, 2023
  • 1 답변
  • 942 조회

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.

이 주제는 답변이 닫혔습니다.

1 답변

try67
Community Expert
Community Expert
February 21, 2023

Use tooltip text.

Will_Z작성자
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.