Appian Community
Site
Search
Sign In/Register
Site
Search
User
DISCUSS
LEARN
SUCCESS
SUPPORT
Documentation
AppMarket
More
Cancel
I'm looking for ...
State
Not Answered
Replies
1 reply
Subscribers
6 subscribers
Views
947 views
Users
0 members are here
Share
More
Cancel
Related Discussions
Home
»
Discussions
»
User Interface
I am experiencing a curious issue with a date field in the cloud (didn't hav
bcassista
over 13 years ago
I am experiencing a curious issue with a date field in the cloud (didn't have this issue before migrating to the cloud). When a user physically enters a date that is "incorrect" (i.e 2/31/2012 or 2/3/960) it is automatically converted to a "valid date" instead of flagging it as invalid. 2/31 is changed to 3/2 (knows it is a leap year) and 2/3/960 is converted to 2/3/0960 (I am not that old - tho I look good for 1052!). This latter one becomes a problem when the text() function is used as anything with a year before 1000 throws a "bad epoch" error.
The behavior I really want is for any invalid date to throw an error in the form and not try to guess what I really meant. If the data entered is allowed to be "wrong" then we open ourselves to a data integrity issue. Before moving to the cloud, I would get an error on 2/31 or entering 960 as a year....
OriginalPostID-31999
OriginalPostID-31999
Discussion posts and replies are publicly visible
Parents
0
Sunny
Appian Employee
over 13 years ago
This is the expected behavior with date fields.
Please check the following thread for using JS validation on date fields:
forum.appian.com/.../4148
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel
Reply
0
Sunny
Appian Employee
over 13 years ago
This is the expected behavior with date fields.
Please check the following thread for using JS validation on date fields:
forum.appian.com/.../4148
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel
Children
No Data