Is there any technique, trick, Javascript magic or whatever that would let me generate HTML for all fields but one? It is a bit complex to explain why, but I don’t mind if the field content is shown, but it can’t have that name or it messes up an external web editor implementation (e.g., if BodyWeb appears in the HTML as a hidden field, it mucks up the use by the web editor of BodyWeb).
I have searched, but can’t seem to find an answer, and I have tried putting computed text comments around that field, but the actual field content is added later, and I have tried finding and removing it with JavaScript, but I am not good with JavaScript at all. Any ideas?
Subject: Possible to skip one field when “Generate HTML for all fields” is set
It would probably be easier to write a custom version of “Generate HTML for all fields” rather than try to eliminate the field after the fact.
I should note that “Generate HTML for all fields” is a pretty evil switch – great for killing performance on any remotely complex web app. 
Subject: RE: Possible to skip one field when “Generate HTML for all fields” is set
I certainly don’t want to use it, but a customer uses it for various reasons and wants to use our CoexEdit product as well. With Xinha or TinyMCE or other web editors that just use the existing textarea, setting the “Generate HTML for all fields” works just fine, but with FCKEditor the way we currently have it implemented, it causes huge problems, and I just wanted to see if there was an easy answer for them. For now, I’ll recommend they switch to Xinha, and see if I can switch the FCKEditor implementation to use textarea, which is probably better in the long run anyway.
Subject: Possible to skip one field when “Generate HTML for all fields” is set
Could you put that single field in a computed subform and then hide it if it is a browser viewing the page?
Subject: RE: Possible to skip one field when “Generate HTML for all fields” is set
Good idea, except that I actually do need to use that field on the subform (it is already on a subform in this case). If it is not there, when I save the field will be lost (due to Domino security). I’ll play with this a bit more to see if I can have a different computed subform for edit and read modes and whether the edit mode needs the field or not.
Subject: Possible to skip one field when “Generate HTML for all fields” is set
I don’t have any additional solutions to offer, but if anybody from IBM reads this:
What would be fantastic would be if there was a field-level setting for “ Generate HTML for THIS field”.
99% of the time in the web dev I do, you really only need HTML for a handful of fields (browser-side java/javascript data exchange, etc.) I’ve got forms with 100+ computed-for-display fields, some of which have a TON of data. Toggling “Generate HTML for all fields” bloats the HTML delivered down-the-wire from 2K to nearly ten times that, plus adds extra CPU overhead to the Domino HTTP process to simply generate and deliver the extra HTML.
Not to mention the security-related concerns of having every possible field on the form push its contents to the end-user.
Subject: RE: Possible to skip one field when “Generate HTML for all fields” is set
Bruce’s method would work for you in the interim – it’s how I handle the situation as well.
Subject: Possible to skip one field when “Generate HTML for all fields” is set
Ben, I really think that a customization module for FCKEditor that changes the way it pushes data to the web form might be an easier go. (“Easy” being relative, of course.) I’ll take a look at it over the weekend in a couple of versions and see if there’s a stable way to address the problem.
Subject: RE: Possible to skip one field when “Generate HTML for all fields” is set
I agree. I’ll work on it today and see how far I get. I just wanted to be sure before I did that there wasn’t some obvious flag or something I didn’t know about.
Subject: You might’ve already considered this, but…
The simplest solution (although not necessarily the easiest) would be to wrap your own <input type=hidden… stuff around only those fields you want published – but i imagine you are well aware of that, and are looking for an easier solution.
For the uninitiated:
Subject: RE: You might’ve already considered this, but…
Thanks. Yes, I am aware, but the customer is none too keen. I think I am going with Plan B, reconfiguring FCKEditor to use textarea. It looks easier than I first thought.