+ Start a Discussion

Validation in Actions

Hey all,
   I'm still trying to find out how I can do form validation in an action.  In Triggers, you do it with an addError on the field that caused the problem, but in an Action, I can't find a similar mechanism.  Can someone lend me a hand here?

This is an area that we are still working out the details - there is no support for this in Summer '07. Throwing a custom exception will also not result in the type of behavior I expect you are looking for. More details will be coming out over the next few months. If system supplied error handling is something you can't wait for you can roll your own to som extent.