Updated Ajax form and input.x.tpl