Fix for issue #6193 - loop through data- attributes for form submission data instead of hard coded
Fixed indentation for fix #6193
Merge pull request #6194 from AardvarkMike/master

Suggested fix for Issue #6193