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
4 replies
Subscribers
8 subscribers
Views
3397 views
Users
0 members are here
Share
More
Cancel
Related Discussions
Home
»
Discussions
»
User Interface
Date/Time not saved if only Date is input when not required
joep45
over 7 years ago
We have new forms with Date Time fields where the field is not required. QA has pointed out that if you input only a Date but no time then nothing gets saved. Any suggested workarounds?
We have existing forms where the field is required and that is no longer an issue but it is now an issue when the field is not required.
OriginalPostID-236023
Discussion posts and replies are publicly visible
Parents
0
harishkumart
Certified Lead Developer
over 6 years ago
Hi Joep45 ,
Its true that saveInto of the date time field executes only when both the values are filled. As a work around you can pass now() to the rule input from where it is being called so that any interactions on either the date field or time filed will cause save in to to execute.
Note that if you change the date the time value remains same as now() and same with date also when time is changed. Hope this helps you.
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel
Reply
0
harishkumart
Certified Lead Developer
over 6 years ago
Hi Joep45 ,
Its true that saveInto of the date time field executes only when both the values are filled. As a work around you can pass now() to the rule input from where it is being called so that any interactions on either the date field or time filed will cause save in to to execute.
Note that if you change the date the time value remains same as now() and same with date also when time is changed. Hope this helps you.
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel
Children
No Data