only call reset if we have a form. just in case...
formats *should* accept regex and functions as well