Hi Ananda,
In wdInit put something like:
wdContext.currentContextElement().setDateAttribute(new Date());
Best regards, Maksim Rashchynski.
try this
create a new attribute, which is a string (sNewtext).
bind this attribute to the value property of the inputfild
then put a new action the the event onEnter for the inputfied
for the action use the following code:
wdThis.wdGetContext().currentContextElement().set<snewText>(wdThis.wdGetContext().currentContextElemt.get<datecontext>.getDate.toString());
Hope this will help
Patrick
Add a comment