Converting inputs to type=hidden in demo