It is just a small bug in the documentation. formid is not a string like if described in the documentation. It is just jQuery object for the form. The corresponding line looks like
Somebody should just change the documentation of the wiki page /jqgridwiki/doku.php?id=wiki:form_editing. (Everyone can do it)