These forums are now Read Only. If you have an Acrobat question, ask questions and get help from one of our experts.

How to change YYYYMMDD format in Barcode 128 to DDMMYYYY

Keamiss
Registered: Mar 8 2011
Posts: 3
Answered

Hi all,
 
I am very new in this. First time using LiveCycle Designer.
 
I have a form which I generate a Barcode from a value taken from another Date form field in the same form.
The problem is the Date form field is formated in DD/MM/YYYY but the Barcode will only generate the result as YYYY-MM-DD.
Can anyone advise me how to change the format of the Barcode to generate the value correctly as DD/MM/YYYY?
The Barcode I am using is Code 128.
 
Regards,
Charles

Charles W
Singapore

My Product Information:
LiveCycle Designer, Windows
radzmar
Expert
Registered: Nov 3 2008
Posts: 1202
Accepted Answer
Hi,

you first should add this pattern in your date field for the display and data values.
date{DD/MM/YYYY}
Then you get the formatted Value of this date field for your barcode.
this.rawValue = DateField1.formattedValue;

radzmar
LoveCycle Blog
Documents you need:
LiveCycle Designer ES2 Docs

Keamiss
Registered: Mar 8 2011
Posts: 3
Thanks radzmar.
It works!

Charles W
Singapore

Keamiss
Registered: Mar 8 2011
Posts: 3
Thanks radzmar.
It works!

Charles W
Singapore