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
+1
person also asked this
people also asked this
Replies
11 replies
Subscribers
8 subscribers
Views
5618 views
Users
0 members are here
Share
More
Cancel
Related Discussions
Home
»
Discussions
»
User Interface
We have users that want to enter date as mmddyyyy without slashes. They don'
scotte
over 10 years ago
We have users that want to enter date as mmddyyyy without slashes. They don't want to use the DATE type, so this will be a string/text. Also they would like to see this date displayed after they enter is with the slashes, so mm/dd/yyyy. Does anyone has a example, I guess javascript to validate what user entered is a valid date? fyi we noticed the Appian Date type does not validate that the date is valid if you manually enter the date, for example if you enter 13/99/2013 and tab away it does not tell you its invalid, but instead converts to some kind of date. Thanks!...
OriginalPostID-128041
OriginalPostID-128041
Discussion posts and replies are publicly visible
Parents
0
scotte
over 10 years ago
Does anyone know why we can't use functions on a form? For example just as a test on a Text field I added a "Event Rule" on "Change". The script is "var testDate = todate(11122014)". So when Im on this field on the form an tab away after entering something I get an exception thrown saying the rule is invalid. Does anyone know what is wrong with the script? Thanks!
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel
Reply
0
scotte
over 10 years ago
Does anyone know why we can't use functions on a form? For example just as a test on a Text field I added a "Event Rule" on "Change". The script is "var testDate = todate(11122014)". So when Im on this field on the form an tab away after entering something I get an exception thrown saying the rule is invalid. Does anyone know what is wrong with the script? Thanks!
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel
Children
No Data