cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

Date format in Adobe forms.

former_member606838
Participant
4,333

Hi experts,

I am working on a customer quote form for SAP C4C. In the form I have to concatenate two dates for a time period :

The customer wants the the format to be DD/MM/YYYY. I have set it correctly in Adobe LiveCycle Designer but yet it doesn't show the right format:

Any idea how to fix it?

View Entire Topic
PascalBremer
Product and Topic Expert
Product and Topic Expert

Hi Mousa,
for your concatenation script you are probably using the rawValue of the date fields?
Instead use the formattedValue property.

Instead of this:

TextField1.rawValue = Date1.rawValue + " - " +Date2.rawValue

Use:

TextField2.rawValue = Date1.formattedValue + " - " +Date2.formattedValue

Docs:

https://help.adobe.com/en_US/livecycle/11.0/DesignerScriptingRef/WS92d06802c76abadb-3e14850712a151d2...


Best regards
Pascal

former_member606838
Participant
0 Likes

That was my problem! worked like a magic. Thanks Pascal!