From: "Hal E. Fulton" Date: 2003-07-15T11:17:26+09:00 Subject: Re: ruby-specific CGI question (I think) ----- Original Message ----- From: "Rasputin" To: "ruby-talk ML" Sent: Monday, July 14, 2003 9:14 PM Subject: Re: ruby-specific CGI question (I think) > > By 'remove it' I meant either save the HTML and > > edit it out and see how it looks (may not be > > possible) or simply (temporarily) change the > > library source. > > Even easier: > > cgi.form() seems to just return a String - see that snippet I sent earlier: > > > formString = cgi.form(method="get") { > cgi.text_field("key") + > cgi.text_field("value") + > cgi.submit("add") > } > > You should be able to work on formString like any other String, > remove any garbage that got in there, then just puts() it to the browser. Oh, certainly. I'd have seen that if I had a little less blood in my caffeine stream. Hal -- Hal Fulton hal9000@hypermetrics.com