Need 2 or more custom formats at the same time
I have a date field where I need a certain format for the date but I have a custom format script showing an instruction that will go away once the applicant types text in the field.
For example, I want the applicant to see (MM/DD/YYY) on the text field. If they type in it, then that default instructional text will be replaced. I also want the date format (which is already available in the options) to be applied.
Here is the custom script I have for the default instructional text:
// Custom Format script for text field
if (!event.value) { event.value = "text goes here"; event.target.display = display.noPrint; } else { event.target.display = display.visible; }
Is it possible to have 2 or more custom scripts at the same time?
