Layers in Notes Client Form

I’ve had a lot of problems using Layers in my Notes Client Forms. They are a great idea, and can be used quite well, but I’ve had sporadic problems with them relating to hiding and revealing them.

The problems all stemmed from putting the anchor of the layer in a table. To create a layer, you place your cursor on the form and then create the layer. The insertion point holds a little icon showing the anchor for the layer. To hide and reveal the layer, you hide or reveal the text on the paragraph containing the anchor. I put my layers into a table so that the form didn’t change when the layers were revealed; ie a two column table, the first column is always visible, the second column contains the anchor and is made to hide or appear. The number of visible rows on the table remains constant as the cell is hidden or revealed which hides or reveals the layer.

However, I had terrible problems such as: the contents on the layer did not render correctly whilst they were hidden, causing spurious values in fields, or editors that didn’t refresh.

All this is now fixed by placing the anchors onto the form outside of a table. It does mean that lines appear when the layer appears, but its worth it…

Lesson is, don’t put layer anchors into a table!!