Added code to demonstrate form submission without ajax