New function to validateSingle action