Forum OpenACS Development: Re: Curious about htmlarea widget and text-or-html dropdown -- is it still there?

i suppose, you mean: in which situations does the format menu show up, when ad_form encounters a richtext widget (e.g. one passes a widget spec like the following to ad_form text:richtext(richtext),nospell,optional ...).

When a rich text editor is enabled (rte or xinha) and the client has java script enabled, a rich text widget returns always HTML, therefore the format menu does not make sense and is not dsplayed. Even worse, the format menu can cause inconsitencies, when the user says: its plaintext, but the rich text editor returns always html, where in other situations (e.g. no javascript enabled) the flag says the truth.

The rich text editor is enabled either globally for a site (kernel parameter UseHtmlAreaForRichtextP) or per widget (property htmlarea_p in the widget spec).

so, if i understand correctly, you have the rich text widget enabled, but you do not want it in certain situations. Here you can set htmlarea_p to 0 in the widget spec.