ignore invalid attributes in form post