Adding server side validation.
Still not working