Checking for single quotes in the fields before posting