make Firefox happy with inputs
generalize task form helper function names

- Generalize the name so they can be used for edit too
- Add keyword argument for formid since multiple could be on the same page