Expand my Community achievements bar.

Radically easy to access on brand approved content for distribution and omnichannel performant delivery. AEM Assets Content Hub and Dynamic Media with OpenAPI capabilities is now GA.

Amount to text Java Script not working

Avatar

Level 4

i have a dynamic form in which a numeric field (SForm.Table88.Row1.Cell1) is for Amount and a textfield (SForm.Table88.Row1.Cell2) for Amount in words (script =>    Number2Text.number2text(SForm.Table88.Row1.Cell1.rawValue); ).

i try to make a script to so that in textfield (SForm.Table88.Row1.Cell2)  shows both Amount in digits and words but its not worked.

this.rawValue = SForm.Table88.Row1.Cell1.rawValue + " " + Number2Text.number2text(SForm.Table88.Row1.Cell1.rawValue);

Number2Text is a variable for function number2text(value)

plz help me

0 Replies