cancel
Showing results for 
Search instead for 
Did you mean: 

javascript custom errors

mchernecki
Champ in-the-making
Champ in-the-making
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.
1 REPLY 1

gavinc
Champ in-the-making
Champ in-the-making
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.