This topic is locked

asprunner 6.2

10/3/2010 10:17:32 AM
ASPRunnerPro General questions
L
luic author

In ASPRunner 6.2, there is a javascript onload event and I can set default value using ctrl.setValue(value). Can I pass a value from my database to this value?
Thanks.
Chris.

A
ann 10/4/2010

Chris,
unfortunately no, setValue() function works on the client side (Javascript) which means you cannot access database from there.
You can have better lick setting default value to session variable and populating this session variable in BeforeProcess event.