Leading Zeros


how adobe recognize leading zeros in getfield script?

 

here's problem:

  • i've got field fl003 , fl003a
  • the script on fl003a this: <this.getfield("fl003a").value = this.getfield("fl003").value;>
  • fl003 field pulls account number external source.  of account numbers start @ least 1 leading zero, example 014.
  • the value being returned on field fl003a missing leading zero, example 14.

 

how adobe recognize leading 0 , have populated in fl003a?

 

 

 

 

thanks in advance help!

use valueasstring property:

 

this.getfield("fl003a").value = this.getfield("fl003").valueasstring;



More discussions in PDF Forms


adobe

Comments

Popular posts from this blog

How to change text Component easybook reloaded *newbee* - Joomla! Forum - community, help and support

After Effect warning: A problem occurred when processing OpenGL commands

Preconditions Failed. - Joomla! Forum - community, help and support