Allow non-action buttons to pass through validation (fixes #2527)

The specific example for this issue is InlineFormField - results in actionName() on non-object error. See #2527 for context.

Include parentheses for coding conventions
Merge pull request #2533 from kinglozzer/2527-cmsform-inlineformactions

Allow non-action buttons to pass through validation (fixes #2527)