added cfg(name) for form name