Expand my Community achievements bar.

Dive into Adobe Summit 2024! Explore curated list of AEM sessions & labs, register, connect with experts, ask questions, engage, and share insights. Don't miss the excitement.

Formatting Dates

Avatar

Level 4

Hi:  I have a form created in Adobe Livecycle Designer 8.  There are 4 instances where the user must enter the date as i.e., "January 12, 2012".  Is there a way to 1) if the user enters "1-12-12", that it will automatically display it at runtime as "January 12, 2012" or, 2) force the user to go back and type the date in as "January 12, 2012."? 

Thanks for any assistance you can give.

Connie

3 Replies

Avatar

Level 10

Set the patterns as below to achieve it.

Display Pattern: date{MMMM D, YYYY}

Edit Pattern: date{M-D-YY}

Thanks

Srini

Avatar

Level 4

This worked, thank you.

Connie

Avatar

Level 1

Hi,

I am working on a form on Livecycle that has many date fields.  I have addressed the Dispaly pattern to be {MM/DD/YYY} and Edit pattern to be {MM/DD/YYYY}

When I try to type in the date field for the form in preview pdf version on livecycle, it is not changing to the pattern I have assigned to in design view. 

Would you be able to help? Do you know if this has something to do with the XML Source?