Welcome Dialog

Welcome to the Community!

We have a brand new look! Take a tour with us and explore the latest updates on Adobe Support Community.


How to display number 3000000 ? currently it is coming

New Here ,
Aug 21, 2018 Aug 21, 2018

Copy link to clipboard

Copied

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

TOPICS
Acrobat SDK and JavaScript, Windows

Views

107

Likes

Translate

Translate

Report

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
Adobe Community Professional ,
Aug 21, 2018 Aug 21, 2018

Copy link to clipboard

Copied

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?

Likes

Translate

Translate

Report

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

Copy link to clipboard

Copied

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

Likes

Translate

Translate

Report

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
Adobe Community Professional ,
Aug 21, 2018 Aug 21, 2018

Copy link to clipboard

Copied

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

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

Likes

Translate

Translate

Report

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

Copy link to clipboard

Copied

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

Likes

Translate

Translate

Report

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

Copy link to clipboard

Copied

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

event.value =  String(event.value);

Likes

Translate

Translate

Report

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

Copy link to clipboard

Copied

LATEST

thank you so much for your comment.

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

Thanks

Likes

Translate

Translate

Report

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