Allow form to be used instead of a url and elements instead of params dictionary/list