For voucher setup to work you must put in a max number available and the from/to date of voucher availability for the voucher to be accepted otherwise the registrant will get an "invalid code" error message on the front end registration process. If you don't put a max available number the system will auto generate a 0 (to suggest zero available) and not work