problem in java script with variable

aka44356106

09-09-2019

this.rawValue = Number2Text.number2text(SForm.Table88.Row1.Cell1.rawValue);   works fine

but

var ash = SForm.Table88.Row1.Cell1

this.rawValue = Number2Text.number2text(ash.rawValue);   not working why?

plz help

Accepted Solutions (0)

Answers (1)

Answers (1)

radzmar

MVP

09-09-2019

Looks like you're using a script object with a custom function called number2text().

Without knowing that function, it's impossible to say why it wouldn't work.

Open the form in Acrobat an press [Ctrl]+[J] to open the JavaScript console. Check if any error message appears when you execute the function.