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
3 replies
Subscribers
7 subscribers
Views
2237 views
Users
0 members are here
Share
More
Cancel
Related Discussions
Home
»
Discussions
»
User Interface
Adding a warning message to a task form
lilianc
over 8 years ago
Hello Appian Community
I'm upgrading a QuickApp to validate days off in my team: users fill a form with a start date, an end date and his current project team then when submitted a task is sent to supervisors to validate the day off request.
I'd like to create a warning message that would appear on the validation interface when at least 2 users have sent days off requests for the same date.
You can find an example in the mock up attached.
What I'd like to do is displaying a message when a validator reads a task matching the case above (as read-only forms). I don't know what expression to use.
I'm new to this so your help would be really appreciated :)
OriginalPostID-252909
WarningMessage_mockUp.pptx
Discussion posts and replies are publicly visible
Parents
0
Ashvin Kapur
over 8 years ago
@Lilian, it seems that you would need to set up a query such that it returns all requests where there are overlapping days off. Then, you would set up a simple if() statement that says, if there are overlapping days, return a sectionLayout above your existing one with a richtextField displaying your message. If not, display nothing. I'm not sure if this answers your question, but if you give more specifics on your question, hopefully I can help more.
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel
Reply
0
Ashvin Kapur
over 8 years ago
@Lilian, it seems that you would need to set up a query such that it returns all requests where there are overlapping days off. Then, you would set up a simple if() statement that says, if there are overlapping days, return a sectionLayout above your existing one with a richtextField displaying your message. If not, display nothing. I'm not sure if this answers your question, but if you give more specifics on your question, hopefully I can help more.
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel
Children
No Data