Is it possible to format a PDF form field with date AND assign the same field a Default Value?
Specifically, I have a form field that I'd like to be subjected to the date formatting (mm/dd/yyyy). Rather than rely on a tooltip or other means to alert the user to this format, I'd prefer to use the Default Value on the form field (text field properties>options>default value). When I enter the default value I'd prefer, mm/dd/yyyy, it's rejected by the form as the date formatting takes precedence over this label. This makes sense to me, but I do not know another work-around to remedy this scenario. For what it's worth, here is my code from the custom validation field:
if (event.value) {
if (util.scand("mmddyyyy", event.value)==null){
app.alert("Please format date: mm/dd/yyyy.");
event.rc = false;
}
}Any help would be sincerely appreciated. Thanks!
