Updates forms.module to change one if stmt to a ternary