Form: copy the ajax type from the form method