
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-27-2020 04:15 PM
Hi,
I have a business rule for a problem record that requires a future target date on save, otherwise it displays an error message and aborts. When comments or work notes are posted (using the post button) to the activity feed and the target date is in the past, the error message doesn't display, it just aborts and doesn't post the entry.
If the user hits the save button they get the error message. If I use an onChange client script for the work notes field, the appears for every character typed in the field, not just when clicking the post button.
Any help appreciated.
Tim
Solved! Go to Solution.
- Labels:
-
User Experience and Design

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-27-2020 05:56 PM
Actually I found another way to achieve the requirement. I can simply add a client script, UI policy or business rule that can display an error message.

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-27-2020 04:27 PM
Hi Tim,
You may find below thread helpful (Refer to James comment).
- Pradeep Sharma

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-27-2020 04:56 PM
Thanks Pradeep, I had trouble finding relative posts so that was helpful. It sounds like DOM is the only way, and unfortunately that's not an option for me.
I think that only leaves me with the alert error via onChange work notes client script. Not the best user experience but better than any other alternatives I can think of.
I'll leave this question open for a few days for any other responses.

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-27-2020 05:56 PM
Actually I found another way to achieve the requirement. I can simply add a client script, UI policy or business rule that can display an error message.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-31-2024 06:53 AM
Hi Tim,
Could you explain how did you do this.