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

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

Community Beginner ,
Jul 31, 2017 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

181

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
Community Expert ,
Jul 31, 2017 Jul 31, 2017

Copy link to clipboard

Copied

LATEST

Use valueAsString instead of value.

Votes

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