Form input working to control PWM