Form validations and secant method working excellent