Answered
Hi everyone..!
I am karthick here. I am new to acrobat javascript. Pls any body help me with this....,
There is a text box in my PDF file. When i am typing a number into that text box, that number should change to word and want to diplay it.
For a example:-
i am typing 125.. then i want to display a message like this. 'One hundred twenty five'.
i used one script to display the number what i am typing in the textbox.
var display = this.getField('myValue');
display.value =this.getField('TextField1').value;
Now i dont know how to convert this number to word.
I am kindly request to all of you for help me with this task.
LiveCycle Designer has the function "WordNum", see the 'Scripting Reference' under LiveCycle Designer's 'Help' menu bar option, for more information.
For Acrobat forms, Adobe provide an sample check that included an document level JavaScript script with 2 functions to perform this task.
So using a text field with no formatting and a number field formatted to 2 decimals called 'Number', you can use the following script in the 'Custom JavaScript calculation' option on the 'Calculate' tab:
Be sure to properly capitalize and correctly spell the field name.
George Kaiser