How to get leading plus sign while fetching value from a text field in adobe acrobat pro?

Jul 31, 2017

Copy link to clipboard

Copied

I want  to get leading plus sign while fetching value from a text field in adobe acrobat pro. I have typed (say +326777) in the text field, but on fetching the same, getting

326777 instead of +326777. I am fetching the text field data as below:

getField("txtNum").value;

TOPICS
Acrobat SDK and JavaScript, Windows

Views

63

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

How to get leading plus sign while fetching value from a text field in adobe acrobat pro?

Jul 31, 2017

Copy link to clipboard

Copied

I want  to get leading plus sign while fetching value from a text field in adobe acrobat pro. I have typed (say +326777) in the text field, but on fetching the same, getting

326777 instead of +326777. I am fetching the text field data as below:

getField("txtNum").value;

TOPICS
Acrobat SDK and JavaScript, Windows

Views

64

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
Jul 31, 2017 0
try67 LATEST
Most Valuable Participant ,
Jul 31, 2017

Copy link to clipboard

Copied

Use valueAsString instead of 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
Reply
Loading...
Jul 31, 2017 0