Hi all, I was noticing on some pages that an empty text field was being shown after submitting forms and narrowed it down to the tapestry.js code for the Tapestry.FormEventManager class.
setSubmittingElement : function(element) { if (!this.submitHidden) { var hiddens = this.form.getInputs("hidden", "t:submit"); if (hiddens.size() == 0) { /** * Create a new hidden field directly after the first hidden * field in the form. */ var firstHidden = this.form.getInputs("hidden").first(); this.submitHidden = new Element("input", { //type : "input", type: "hidden", name : "t:submit" }); firstHidden.insert( { after : this.submitHidden }); } else this.submitHidden = hiddens.first(); } this.submitHidden.value = element == null ? null : $(element).id; }, Shouldn't the type of the new element be "hidden" and not "input"? Thanks, Dustin