javascript custom errors

Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-10-2007 02:53 PM
I have a content rule that executes a script. This script validates property data before moving the document to another space. Is it possible to send an error message back to the user in javascript, such as "Please enter all property data, title property is blank." The user would then modify content properties and my content rule triggered by the update will try validating the data again.
Labels:
- Labels:
-
Archive
1 REPLY 1

Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-16-2007 04:53 AM
The actions framework on the server does have support for 'compensating actions' i.e. something to do if an error occurs. Unfortunately, this is not exposed or used by the web client.
