PDA

View Full Version : user input field validation



doors666
05-05-2003, 02:58 AM
Hi,

I have a user input panel, in which i need to read a password (say pswd1) and verify it by reading it again (say pswd2). On pswd2 field, I have created a custom field validator (derived from UserInputFieldValidator).

In this validator, I need to access pswd1 to be able to compare both of them. I tried to pass it in additional data field after I specify the class like $W(PasswordInput.pswd1), also tried to read it in the class p1 = resolveString ("$W(PasswordInput.pswd1)");. I always get a null in the value.


Unfortunately the documentation on UserInputFieldValidator is really bad, the API docs dont have a single english language sentence. No where its mentioned how I access this info.

Please help...


TIA,
Vikas

doors666
05-05-2003, 04:09 AM
found it. it was a typo in the name field.
sorry abt the wasted bandwidth