Answered
have never been able to get this issue to work satisfactory. Any help would be great. I need a date field in the MM/DD/YYYY format that will automatically fill our and enter the slashes when the user enters information. For instance if they enter 6291978 the script will automatically enter it as 06/29/1978. I need it to read and enter any leading zeros and to automatically enter the slashes. thanks in advance.
this isn't a trivial topic because there are to many possible ifs, ands and buts.
You cannot know what your users really type into the field.
So, you will have to design a script that is very tolerant to input values.
This example will work for inputs like in your description 6291978 or 06291978.
It also removes all eventually entered spaces and only works if the user enters 7 or 8 digits.
radzmar
• LoveCycle Blog
Documents you need:
• LiveCycle Designer ES2 Docs