var input = document.createElement("input");input.setAttribute("type", "hidden");input.setAttribute("name", "reg_check");input.setAttribute("value", "856482fd205bbea6ed976a34e3f8830cc24");document.getElementById("user-register-form").appendChild(input);