Fixed #1011: FPF does not insert error messages or classes for submit buttons
merge 78f2dad65588cefecce46056e6ce7842990d8de3, refs #1011