Planet PDF Forum Planet PDF Forum
  New Posts New Posts RSS Feed - Format # ##0,00 in text field
  FAQ FAQ  Forum Search   Register Register  Login Login

Hi, welcome to the Foxit Planet PDF Forum. If you have PDF or Adobe Acrobat questions then the right place to ask them is here, in this forum.

Format # ##0,00 in text field

 Post Reply Post Reply
Robert1977 View Drop Down
New Member
New Member

Joined: 05 Mar 2015
Location: Polska
Points: 21
Post Options Post Options   Quote Robert1977 Quote  Post ReplyReply Direct Link To This Post Topic: Format # ##0,00 in text field
    Posted: 20 Jun 2019 at 8:38pm

I need in PDF text field a numet format like: 1 234,45, 455 546 456,00 etc. I would like to  change this format script because there is a problem when we enter values after the decimal point. Then I get: '1,#R'

if (event.value != "") {
  if (event.value == 0)
    event.value = "";
    event.value = util.printf("%,2.2f",event.value).toString().replace(/\./gim," ");

Could somebody help ?
Back to Top
 Post Reply Post Reply
  Share Topic   

Forum Jump Forum Permissions View Drop Down

Forum Software by Web Wiz Forums® version 11.10
Copyright ©2001-2017 Web Wiz Ltd.

This page was generated in 0.039 seconds.