cancel
Showing results for 
Search instead for 
Did you mean: 

Comma & Dot separator for Quantity field

former_member221372
Participant
0 Kudos

Hello All,

I have an issue in displaying the value of a Quantity field in Adobe Forms.

Now I am getting the value as 100.00 for FR, this is fine. But for DE I have to display as 100,00.

How to acheive this?

I have changed Own Data Profile & checked in OY01 & changed the value of Data Pattern. But still no success.

So plz help me

Cheers,

Bharat

Accepted Solutions (1)

Accepted Solutions (1)

diego_santos
Employee
Employee
0 Kudos

Hi Bharat,

Together with Sandy's solution, change your template XML to the following tag.

Add the tag " locale="fr_DE" " in Locale definition. You will find this right after the Form header definitio in the XML Source of
Adobe LiveCycle Designer.

Regards,
Diego

former_member221372
Participant
0 Kudos

Hello All,

I solved the issue.

I have set the decimal field to numeric field & set Display & Edit format as zzz,zzz.99 & most important one is Locale, set as default French(Belgium) & later based on Customer master data we set the Locale by using java script.

Thank you all.

Cheers,

Bharat

former_member221372
Participant
0 Kudos

Hell Sandy/Santos

I have done what you said,thanks for that.

Now again I got stucked.

While editing the input field, I gave like this 1.5 then it is showing as 1,50 which is correct but when I am giving as 1,5 it is showing as 0,00 but it should display it as 1,50.

I am facing this problem for French customers only.

Kindly suggest...

Cheers,

Bharat

SandySingh
Active Contributor
0 Kudos

Hi Bharat,

Looks like the field value is failing the validation pattern and RESET to initial , in this case 0,00.

Insert the following extra pattern in EDIT pattern so that user is able to enter the value. If it doesnt work , try to add this to validation pattern.The display pattern can remain unchanged. 

 zzz9.99

Hope it helps

Regards

Sandy

former_member221372
Participant
0 Kudos

Not working

diego_santos
Employee
Employee
0 Kudos

Hi Bharat,

I created a small sample in ALCD 9.0 and it works with " locale="fr_DE" " and zzz,zzz.99.
When I enter 1,5 it keeps with this value.
What ALCD version are you using?

Regards,
Diego

former_member221372
Participant
0 Kudos

Hello Santos,

Yes,you are right,now it is working.

I gave in Edit Pattern thats why it was not working.I kept blank in Edit pattern.

Thank You.

Cheers,

Bharat

Answers (1)

Answers (1)

SandySingh
Active Contributor
0 Kudos

Try to add Display Pattern: z,zz9.99

Regards

Sandy