Added mergeVariables() to return if form fails.
Merge pull request #22 from CoBase/create_group_error

Added mergeVariables() to return if form fails.