on 09-19-2008 7:31 AM
hi experts
I have "refresh" functionality in my project. when user presses this button, all the data in the input fields of screen should get removed and fields should get empty.
This button is wrking fine if all the entries are filled according to respective validations on the screen.
however when we fill some field while violating any of the validation(eg:- In field of fixed length 20, we are filling only 10 characters),the refresh button is not doing its work.
I have made all the fields null in refresh functionality.
What Should I do to make it work properly...??
hi,
for refreshing value node u need to use invalidate() method.
wdContext.nodeNode1().invalidate();
here Node1 is the name of node.
Thanks and Regards
Trilochan
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi
Can you post your code in Action of Refresh button
Regards
LN
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Rajeev,
Just invalidate the node and try.
wdcontext.node<node name>().invalidate();
-Swati
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
For the action on your refresh button check the without validation field.
Regards,
Murtuza
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
93 | |
10 | |
10 | |
9 | |
9 | |
7 | |
6 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.