cancel
Showing results for 
Search instead for 
Did you mean: 

problem in refresh button

0 Kudos

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

Accepted Solutions (0)

Answers (4)

Answers (4)

Former Member
0 Kudos

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

Former Member
0 Kudos

Hi

Can you post your code in Action of Refresh button

Regards

LN

Former Member
0 Kudos

Hi Rajeev,

Just invalidate the node and try.

wdcontext.node<node name>().invalidate();

-Swati

Former Member
0 Kudos

Hi,

For the action on your refresh button check the without validation field.

Regards,

Murtuza