Modify form to add post method.