I have a form that has several rich text fields, but there seems to be a problem with the first field on the form. When a user inserts a database link into the field, and inserts any kind of link (database, doc, view) is inserted into the second rich text field on the form, then saves the form, everything appears as normal when the document is in read mode. But when the user edits the document, the database link in field 1 is copied into field 2, with the link that was formerly in field 2 disappearing.
What’s even stranger, is when Field 1 has a database link, and two or more fields afterwards have other links. In that case, when the document goes into edit mode, the db link from Field 1 overwrites the link in Field 2, and whatever link was in Field 2 overwrites the link in Field 3, etc. The last link on the form is always lost on the form.
So you have this in read mode:
Field 1 → link 1 (always db link)
Field 2 → link 2 (any type of link)
Field 3 → link 3 (any type of link)
And this when you put the document in edit mode:
Field 1 → link 1
Field 2 → link 1
Field 3 → link 2
If I were to save the document at this point, open it again, and put it in edit mode once more, I would have:
Field 1 → link 1
Field 2 → link 1
Field 3 → link 1
If I try saving text along with the doclinks in the rich text fields, the text is always in the right place, but the links are disassociated from the text and “shift down” as I described above. If I have links in non-consecutive fields (Field 1 = db link, Field 2 = nothing, Field 3 = doc link), everything is fine when the document is in edit mode. There is no security on the rich text fields, and I’ve tried re-creating the fields from scratch with the same effect. Also, this only happens with database links in Field 1 – if I put in another type of link, this problem doesn’t occur, no matter what the scenario.
Any thoughts? I’ve seen some fluky errors in Notes, but this takes the cake.