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

Need help with number format and custom format script

Participant ,
Aug 22, 2017 Aug 22, 2017

Can someone tell me how to have a number format and a custom format script? I am using this script to put the feet hash mark when I enter a number. Like so,

AFNumber_Format(0,0,0,0,"\'",false);

The thing is I cannot set the number format so I can only enter a number if I use this script. If I don't use this script then I can set the number format but then I lose the feet hash mark. I can only use one or the other formats. Is there a way I can have both? At the moment I only have this script in the custom format script pane window. So then, I can enter text in the field. Not what I want to do. Can someone help? Thanks.

TOPICS
Acrobat SDK and JavaScript , Windows
848
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

correct answers 1 Correct answer

Community Expert , Aug 23, 2017 Aug 23, 2017

Apply the exact same code only with "_Keystroke" instead of "_Format" under the custom Keystroke script to achieve it.

Translate
Community Expert ,
Aug 23, 2017 Aug 23, 2017

Apply the exact same code only with "_Keystroke" instead of "_Format" under the custom Keystroke script to achieve it.

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
Participant ,
Aug 24, 2017 Aug 24, 2017
LATEST

That took care of that. Easy. Thank you.

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