added a new function [editform()] to allinfo.js