validate the form
if validates then grab the value