Fixed Form::create so that it returns NULL on error
Merge pull request #1397 from dgough/next

Fixed Form::create so that it returns NULL on error