How to convert numbers to text in a form created in LiveCycle Designer?

Avatar

Avatar

Peter_Miles

Avatar

Peter_Miles

Peter_Miles

17-06-2009

I am relatively new to Livecycle Designer and very much a newbie with JavaScript and FormCalc.  I have created a Conditional Sales Contract form and when the user enters a dollar amount (1548.95) I would like to know how to  auto fill a text field with its text equivalent ( One Thousand Five Hunderd and Fourty-eight dollars and ninety-five cents).  I have found two forums explaining how to do this in Acrobat 8 but nothing in LiveCyle Designer.   Can this be done in LiveCycle and can anyone please help me with the script?

thanks

View Entire Topic

Avatar

Avatar

JainSa

Avatar

JainSa

JainSa

29-03-2018

Hi I'm new to learn Live cycle Designer and very much a newbie with JavaScript and Form Calc.  I have created a Manual form(Amount and Amount in word) in amount Field entered value (100000 INR) I would like to know how to  auto fill a text field with its text equivalent ( One lakhs only).

But the value come Different :One Hundred Thousand only.(I think this is Us Relevant,but I don't need this.i want India Format)

I wrote code in Formcalc:

Concat(WordNum(amount),space(1),"Only").

then try WordNum(amount)