Fixed bug in Index form submitting.

Set up Index Form to be able to submit data.