if there is no $_POST, Post an empty string (nothing) is absolutely the most simple solution.
Here my solution for a Form with a
just add the following line in the php section that handles the storing of your form:
if (!isset($_POST['related'])) $_POST['related']="";