That's great - thanks you very much.
If the checkbox is not ticked it no longer goes into the database. It does put in an empty line into the database with a blank value for the Email field. Is there a way to just leave the database "untouched" if the email checkbox is not ticked?