I have a form which is being accessed via Notes as well as Web browser. I was using pure html for the Web version of a text field per documentation on the IBM Web site:
http://www-1.ibm.com/support/manager.wss?rs=0&rt=0&org=sims&doc=0B17BC13887324AB862565E90057BE29
This allowed me to control the size and behavior of the text box. (Using the html attributes of a text field, you can only control how long a field is, and how many characters you can enter. )
Problems with this setup - when you open an existing document in read mode via Web browser the html will not display the existing text field value and more importantly, when you do switch to edit mode, any previous value entered will not be displayed.
Solution:
I have an editable text field called Comments_1 with a hide when formula of:
@IsDocBeingEdited & @IsMember("$$WebClient";@UserRoles)
I have a computed text field whose formula and hide when formulas are:
"[<TEXTAREA NAME=" + "" + "Comments_1"+ ""+ " ROWS=7 COLS=50>]"+Comments_1+ "[</TEXTAREA>]"
!@IsDocBeingEdited | @IsNotMember("$$WebClient";@UserRoles)
This gives me the best of both worlds. I am able to use html to format the fields as I want, and I don't lose any values when accessing a previously created document via the Web browser.
(NOTE: Only tested using I.E. 5.5)