cancel
Showing results for 
Search instead for 
Did you mean: 

resetting the Datepicker

Former Member
0 Kudos

Hi Experts,

I have Datepicker(input field)when i clicking the reset button. datepicker value should be reset?

how to do that?

Regards,

P.Manivannan

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Hi,

You might have bound this inputfield to an context attribute,

set the context attribute accordingly.

wdContext.currentContextElement().set<yourAttributename>(null);

Regards

Ayyapparaj

Answers (2)

Answers (2)

Former Member
0 Kudos

Hi All,

Thanks ur reply.. I got a solution...

Regards,

P.Manivannan.

chintan_virani
Active Contributor
0 Kudos

Mani,

Add a button say Reset and on its Action initialize the inputfield's context to null.

wdContext.currentContextElement().set<Your ContextName>(null);

Chintan