Expand my Community achievements bar.

problem in java script with variable

Avatar

Level 4

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

1 Reply

Avatar

Level 10

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.