The Notes Client paradigm is not easily emulated on the web. But with a few behind-the-scenes tricks, you can implement the most powerful hide-when and computed field functionality - without saving the document until you're ready.
Now to put this knowledge to work. Lets say we have a collection of computed-for-display fields similar to a mini-spreadsheet on our form. We also have one editable field that is used in the formulas of the computed fields. Lastly, we have a refresh button so that changes in the editable field take effect in the computed fields.
_doClick ('refresh', this, null, null)
This code alone will refresh the form without submitting it.
Now, to make the browser scroll down to where we previously were, we need to create a pass-thru HTML code at the point we want to scroll down to:
This is called an Anchor Link. For Domino to take advantage of it, the code must now look like this:
_doClick ('refresh', this, null, 'anchor1')