add placeholder + invariant in register form