on 06-15-2010 12:53 PM
Hi,
I have an Date/Time field, which list down the calender to select date. But, along with that, it allows user to input any data manually. I want the user to select the date only from the calender and the user should not be allowed to edit the field manually. As option to do that ? I tried all avilable types and nothing seems to be fullfilling my requirement.
Thanks,
Gaurav.
Hi Gaurav.
I was trying to find a solution for it, this is what we can do:
Create 3 fields, for e.g.: MO_UP, MO_DOWN, CLCK - Type Numeric.
Now on the mouseUp, mouseDown and Click event set some values in these fields.
Click Event : BP.clck.rawValue = BP.clck.rawValue + 1
Mouse Up: BP.mo_up.rawValue = BP.mo_up.rawValue + 1
Mouse Down: BP.mo_down.rawValue = BP.mo_down.rawValue + 1
And at Exit event of the date field check wether these field have that value or not.
If not you can give the error message, and ask the user to select through mouse.
But still there is one catch, if user click of the field and then enters manually this will not work.
I am trying to refine it, so you can also try to improve this. And let us know
Regards,
Amit Rai
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
hi,
In adobe forms you cannot restrict whether the user enters date from manually or from the calendar.
you can put validation on the pattern in which the user enters the date.
regards,
Sakshi
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
I have never seen such thing. The field is read only or can be edited manually or by selecting the date from the "dialog".
If you want to make sure the date is valid, do your own validation.
Regards Otto
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
85 | |
23 | |
11 | |
9 | |
8 | |
5 | |
5 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.