Adding new coform field validator code.