Modify new object call to use POST request variables in form.php