Answered
Hello,
I am trying to make it a little easier for users to understand how to format dates and times in our forms. I currently have date fields that have the default value set as "DD/MM/YYYY" etc., but when these fields are entered (either by clicking or tabbing) the default data does not disappear.
Is there a way to script these fields so that they clear upon entry? Best case scenario would clear them only on the first entry, when the default data was still there.
Thanks!
using Livecycle Designer 8.0 on XP
You could try to add the following JavaScript code on enter event for your data field having default set as "DD/MM/YYYY".
if (this.rawValue=="DD/MM/YYYY") this.rawValue="";
Regards, Andrey