HTML_AREA stripping data out of field

I would presume that HTML_AREA fields are meant to allow end-user input, right? Not just for display? (they seem to be the only field format that allows users to bold or italicize text, so I sure hope they are meant for data entry)

…yet I’m seeing some very strange stuff in a field I’ve formatted as HTML_AREA:

The data provider customer_name is defined as a text field with 50 character limit. The field placed on the form is HTML_AREA.

If I type a name i nto the field, when I click out of it it gets stripped down to some random number of characters! e.g., type “Christopher Foster”, click on the layout background, and it becomes “Christ” (no religious offense intended). If you type “Mary Anne Hastings” it is stripped to “Mary Anne” one time and the “Mary A” on another test.

Is there some kind of serious bug with HTML_AREA fields, or is my hope that they are meant for data entry misguided?

I say “serious bug” because this is not only a display issue. If I close the solution and reopen it the data loaded from the back end is indeed cut short. If I select all text in the field and paste into another application, again this verifies that data has been cut out.

Developer 2.2.1 build 333
Mac OS X 10.4.2

NB

I meant to add that this field behaves fine if it’s formatted simply as TEXT. There are no actions defined for it either, no events on this form.

Nomi (that’s me, “NB”)

Hi Nomi,

NO!, there is not a “serious bug”… the problem is that by using an html field all the html coding is also automatically added to your field…so … 50 characters are not enough…

Suggestion… put a copy of the same field on the form and display it as text area… so you can see what is really being stored.

BTW if you want to use bold/align/characters/etc.. you can also use rtf formatted fields…

Hope this helps

There IS a serious bug with the HTML-AREA.

start to give two ENTERS into the field.
after that, everything you type in the field is NOT saved! :cry:

Ok HJK, you are right… the html field and html rendering are far from perfect… but in the NB case + spaces and 40+ characters are already used…