membership popup not showing invide code field

Hello I have set my membership form as popup but want to use invite codes on the form.

but all i get on the form is Username, email address, password and confirm password, i do not see the invite code field, yet it must be activated as when I try to submit the 4 fields about i get the message "you need to enter an invite code in order to register.

please help