disable/enable inputs, factored out input base class for file inputs, buildFormInputs returns single inputs object