Validate submitted POST data

As an added security measure, validate the POST data being sent on submission to ensure the data matches the fields generated by Cascade Server.