Quantcast
Channel: Adobe Community : All Content - LiveCycle Designer
Viewing all articles
Browse latest Browse all 5571

Do not allow user enter/type the data on DATE field?

$
0
0

Hello

 

I have put a DATE object on my form by dragging standard tab of pallette, so that i am getting a CALENDER once the user is dropped down, fine.

 

But, at the same time form/date object is allowing user to enter date manually by typing on the field, but we do not want to give this ability/flexibilty to user, bcz of below reasons,

 

1 - My form is global, where in US and Europe user will use this form, where in the date FORMATS are different

 

2 - I need to put many validations under PATTERN (Edit, Display, Validation) as suggested below and a i guess a piece of Script as well, since i was newbie to Adobe, its kind of pain

 

http://thelivecycle.blogspot.com/2011/10/date-patterns.html

 

Hence pls. let me know that How can disable this flexibilty / ability, user must to use the calender if user want to enter the date. Its obviuos that i can grey it out, i guess, do i need to write some JavaScript / FormCalc script under ENTER / MOUSE ENTER event that user should not even/try put  cursor on the value entry space of the field

 

Any good suggestion pls.? also provide me Script (Either JS or FormCalc any thing is fine, which is simpler) ?

 

Thank you


Viewing all articles
Browse latest Browse all 5571

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>