front-end validation now working on form and all parameters are passing correctly