got the submit page working and fixed the ordering