Domino 9 und frühere Versionen > Entwicklung

Modify a RTF field . Refresh it - Strange behaviour !

<< < (3/4) > >>

Toma Bogdan:
let's check this  ::)

Rob Green:
im a little bit curious...how does it come that you´re posting on a german board instead - seems easier to me, not that you think you´re not welcome  :)- on notes.net e.g., full of english speaking freaks?

Toma Bogdan:
the code works like before.... as I said .... if I leave the code like this the user can modify and delete the whole content of the Comments field !

So if I use the CommentsDisplay field the user can't modify the Comments, he can saw the initial content of this field through the CommentsDisplay field and he can add some contents to this field through NewComments field!

Toma Bogdan:
I work a lot with notes.net  :P but it seems that the english speakers on notes.net are little lazies  :P so I use this amazing forum (you and others like you are the reason that this forum is amazing) ! The Notes fan are everywhere  :D

Rob Green:

--- Zitat ---the code works like before.... as I said .... if I leave the code like this the user can modify and delete the whole content of the Comments field !
--- Ende Zitat ---
There must be a mistunderstanding between us. How does the user can "delete" the contents of the "comments" field, since its computed in itself and not editable??

If you mean really this:
User enters in newcomments:
"We are Borg"

becomes after saving:
"we are borg" in comments (computed) AND
"we are borg" in commentsdisplay (editable in your version..little bit confusing for the user, dont you mean?)

now user edits doc by entering a new comment in "newcomments" field:
"Resitance is futile"

becomes after saving:
"we are borg resitance is futile" in comments (computed) AND
"we are borg  resitance is futile" in commentsdisplay

So, the field "comments" and "commentsdisplay" serves the same need. One is displaying the log/edit history as an editable RT field and the other as a computed RT field.

My last try: why dont use two fields?
Look here please (im very sure somehow i understand you wrong):

Navigation

[0] Themen-Index

[#] Nächste Seite

[*] Vorherige Sete

Zur normalen Ansicht wechseln