[[!Register? &submitVar=`registerbtn` &postHooks=`usedInvite`...]]
This question has been answered by andreasf. See the first response.