How to convert numbers to text in a form created in LiveCycle Designer? | Adobe Higher Education
Skip to main content
Level 2
June 17, 2009
Resuelto

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

  • June 17, 2009
  • 12 respuestas
  • 17038 visualizaciones

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

Este tema ha sido cerrado para respuestas.
Mejor respuesta de _Bruce_Robertson

Hi Peter,

You could move the WordNum function to the calculate event of the text field (might be a better place for it anyway).

So you would have something like;

WordNum(NumericField2

, 2)

Bruce

----- form1.#subform[1].DollarAmountText::calculate: - (FormCalc, client) ------------------------------

12 respuestas

JainSa
Level 2
March 29, 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)


December 14, 2022

Hi Jain,

          

           I am also looking for the Indian currency in adobe form. could you help to solve that.

 

Thanks,

Bijesh RB.

 

August 30, 2020

how to convert words to numbers using adobe