Pre-Save Helper Error Not Shown to User
I'm trying to use a pre-save helper to validate inputs. Assigning the following pre-save helper - simplified for debugging purposes - prevents the record from being saved, but the user sees a success message - not the error as needed.
Shouldn't this work?
<?php
die('Error: This is an Error.');
?>
1 Answer
The documentation needs to be updated. You need to include <e>
<?php die('<e> This is an Error.'); ?>


