This works just fine in a Foxit reader. BUT, when opening the form in Adobe Acrobat XI, the action only triggers on the NEXT click after my initial click in the date field, no matter whether this next click is in another field or in open space.
My code is :
f.value = util.printd("dd mmm yyyy", new Date());
Thanks in anticipation
The triggers can be any of Up, Down, etc but I have used MouseUp.
You should try to use the mouse down event.
Well of course as I said I can use any one of them but it makes no difference which one I use. I have tried them all ........
It is working using Mouse Down. My testing was probably not careful enough. MouseUp does NOT work as expected but the others do. I wanted MouseUp but MouseDown will do equally well. Must have been late and tired