Add form helpers for hiding form components.

Copy and paste jobby (@jturnbull) :-)