Check form validity on server

Is this PR a work-in-progress? No data is being sent here.