Expand my Community achievements bar.

Applications for the 2024-2025 Adobe Experience Manager Champion Program are open!

Amount to text Java Script not working


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