register form substitution