Exit
  • Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
  • 한국 커뮤니티
0

Make fillable text field label appear WITH drop down calendar to select date

New Here ,
Mar 08, 2023 Mar 08, 2023
Hi!

 

I was able to set up the following Custom Format script for a text field  to make my label show :

 

// Custom format script for text field

if (!event.value) event.value = event.target.name;

 

 

This will display the field name in the field when the field is blank. The problem with this approach is it precludes easily using any of the built-in formats that you may want to use (Number, date, ZIP code, etc.). You still can, but it requires more scripting.

 

Can anyone help me with the scripting to include the date drop down option coupled with the scripting that allows the label to show up?

 

Thank you!!!

TOPICS
JavaScript , PDF forms
445
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
Mar 08, 2023 Mar 08, 2023
LATEST

Not possible. Use a tooltip or something, instead.

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines