Exit
  • Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
  • 한국 커뮤니티
0

How to display number 3000000 ? currently it is coming

New Here ,
Aug 21, 2018 Aug 21, 2018

How to display number 3000000 ? currently it is coming 3.0E6

TOPICS
Acrobat SDK and JavaScript , Windows
693
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
Aug 21, 2018 Aug 21, 2018

Is this the result of a calculation? If so, how is it being calculated?

Did you set the field's Format to something else than "None"? If so, what?

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
New Here ,
Aug 21, 2018 Aug 21, 2018

We just pich the value from xml through xpath. we notice left and right side both field xpath are same but when value is is coming 3000000 then it is not proper display.

Thanks

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
Aug 21, 2018 Aug 21, 2018

So you're importing the value from an XML file?

And you didn't answer my second question...

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
LEGEND ,
Aug 21, 2018 Aug 21, 2018

Is this question about Acrobat JavaScript? LiveCycle Designer JavaScript? Browser JavaScript? Or something else?

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
LEGEND ,
Aug 21, 2018 Aug 21, 2018

Force the value to the String type. In the custom format script

event.value =  String(event.value);

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
New Here ,
Aug 23, 2018 Aug 23, 2018
LATEST

thank you so much for your comment.

we change our xpath coding and it is working fine now.

Thanks

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines