Change the dialog inputbox of register to form