added. validation by submit button. send json to be validated on the sever (not working yet. but almost)