added constraints on credit card form type