submithook gets form information