I have a generic content custom module which at the moment has four fields.
Content (built in field)
When the user clicks "Save" the data is correctly stored. However before it is stored I need to do the following:
- Create an ASP.NET user using Username, Email and Password
- Cancel the content from being saved if the email address already exists
I can see the module has an override for SaveContent - would this be the right place to execute my code? And is there a method available for stopping the data from being saved if an error is encountered, such as a user already existing?