$$ViewTemplate and HTML fields

I have some HTML fieds in my $$ViewTemplate forms and I need to read the values in these fields. I do not have notes fields with the same name. How can I read the values so that I can show hide certain divs also.

Subject: Use Javascript

I would use Javascript. You can’t read values from a HTML field (does not exist until the HTML is created by the Domino server) and put it into a Notes field in order to use that field to control hide-when, as that is rendered before the HTML is generated.

What you need to do is to use Javascript to control the different div:s, just in any traditional web application.

I blogged about this a little over a year ago:

http://blog.texasswede.com/using-jquery-to-emulate-notes-hide-when/