cancel
Showing results for 
Search instead for 
Did you mean: 

How to prevent manual entry in the Date field

Former Member
0 Kudos

Hello,

Any experts here knows how I can disable manaul entry in the Date/Time field. I only want to allow date selection from the pop-up calendar. Thanks.

from

Kwok Wei

Accepted Solutions (0)

Answers (1)

Answers (1)

Former Member
0 Kudos

hi,

I suppose that feature is not possible in the Interactive form.

If you make the complete Date/Time field as read only then the whole thing is disabled.

I tried to replicate the same thing but nothing worked.

Thanks,

kris

Former Member
0 Kudos

Thanks Kris ....

Is there anyone who may have any idea or its really not possible as suggested by Kris ?

from

Kwok Wei

Former Member
0 Kudos

Hello Kwok Wei,

it's not possible. Is a work around to put a script into the enter and click event that opens a dialog saying that the calendar should be used OK for you? The text box of the date dosn't get focus then.

Juergen

PS: use xfa.host.messageBox to show the dialog.

Former Member
0 Kudos

Thanks Juergen !