Use action.name instead of actionName in form, which might be unset
Merge pull request #1153 from njam/issue-1153

Fix actionName usage in Form