problem in java script with variable

Avatar

Avatar

aka44356106

Avatar

aka44356106

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)

Avatar

Avatar

radzmar

MVP

Total Posts

2.6K

Likes

386

Correct Answer

485

Avatar

radzmar

MVP

Total Posts

2.6K

Likes

386

Correct Answer

485
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.