Make sure required is int before trying to save

git-svn-id: https://plugins.svn.wordpress.org/formidable/trunk@835074 b8457f37-d9ea-0310-8a92-e5e31aec5664