Wires up onInput callbacks for the form inputs.