DATE VALIDATION dd/mm/yyyy (date field with manual entry) | Community
Skip to main content
Sep 12, 2007 6:20 AM UTC

DATE VALIDATION dd/mm/yyyy (date field with manual entry)

Is there a way to stop people filling in date fields manually?

since there is a calendar, there not only is no need for manual entry but it also avoids input error..



When I try to validate a date, it will either accept the manual date, or the calendar date but never both.



Does somebody have a solution for this? .. either to validate both the calendar date & manual entry (entered in dd/mm/yyyy)



Or

to prevent users from typing inside the date field (& use the calendar!)

(or prevent them from typing anything other than dd/mm/yyyy)



('ve tried regular expressions but it does not accept the value from the calendar)



Thanks hopefully!
This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.

33 replies

tarekahf
Level 8
Sep 30, 2008 11:11 PM UTC
Dear All,



I have serious problem with Date/Time Fields. It seems that Date/Time Fields just DO NOT work properly. I am using Windows XP, with Arabic Language Support Enabled and LiveCycle Designer 7.1.



I am facing all kind of errors/problems with Date/Time Fields. I decided to switch my Regional Settings to English UK and also tried English USA, but still same result.



If I use a plain Date/Time Field, and try to make any data entry during runtime, the input is always converted to format "dd-mm-yyyy" and the numerals are converted to Indian Digits (Arabic/Indian Shapes). And, when I try to use Date Patterns for display, edit and validation, nothing works as per the documentation.



In summary, the Date/Time Fields do not work as per the documentation.



I tried for normal text and numeric fields, they do work as per the documentation. But, Date/Time Fields do not work at all, and all what I get is incorrect display or entry or always I get validation error.



Can some one tell me what is going on ????



PLEASE HELP !



Tarek.
Translate
Mar 31, 2008 1:08 PM UTC
I just made it a Text Box field and validated the date with Javascript. Of course, I'm an old COBOL programmer and I know how to do that. ;) The user can enter MMDDYY, MMDDCCYY, MM/DD/YY, MM/DD/CCYY or replace the / with a dash (-), dot (.), or space. Javascript has a date function that converts a string to a "date". If the function fails, the string was invalid.
Translate
Level 8
Mar 18, 2008 1:16 PM UTC
Well, have you tried just using a palin text field and writing your own validation, key stroke and format scripts?
Translate
Mar 18, 2008 12:39 PM UTC
I realize it has been months, since the last post, but I'm trying to understand the exact issue. Correct me, if I'm wrong, but you would like to limit the user to only entering the date by the calendar, or limiting them to only manual input. Just not both. If that is the case, unfortunately, there is no way to a) turn off the calendar, and b) prevent manual input.
Translate
Oct 31, 2007 4:17 PM UTC
Hi there,



I share your frustration in getting help with Livecycle Designer.



I had to switch to a different technology because I have found that Acrobat just doesn't cut it for real workd developement.



It has rich features, but not unfortunately, the rich features developers need.



Sorry I can't help you.



Thanks,

Ric
Translate
Oct 29, 2007 3:06 PM UTC
i dont want to spam :D but need help
Translate
Oct 29, 2007 3:05 PM UTC
heeeeeeeeeeelp me :) pls...i need it
Translate
Oct 26, 2007 7:38 AM UTC
HELP ME PLS :D



HOW CAN I DEFINE THE FORMAT IN THE FIELD.



THERE ONLY ACCEPT NUMMBERS AND "POINTS" .
Translate
Oct 24, 2007 1:32 PM UTC
Thank you!

But now I can type letters to. I would just numbers and "points".

I want the Dateformat..



Anybody know a good solution?



thx,

luny
Translate
Oct 24, 2007 10:59 AM UTC
Hi,



Under the Binding tab set Data format to Date and Time.
Translate