Discount code fields

Can you be more specific on the workflow you want to accomplish, also how is your custom validation process