The sample code in this article does not work.
There are 2 problems.
- throw error.create throws a reference error is not defined. N/error is missing in page definition and that's an easy fix
- error.create does not actually stop the page from submitting??
How do we stop the page from submitting on beforeSubmit? return does not appear to work either?
Thanks for any help.