Short tip: @Command([ViewRefreshFields]) in JavaScript

This is a JavaScript function you can call in the onchange / onclick events in your Domino forms, instead of enabling the ”Refresh fields on keyword change” property of a field. Handy when you have to catch the onsubmit but NOT when just refreshing.

function viewRefreshFields() { 	var f=document.forms[0]; 	f.__Click.value="$Refresh"; 	f.submit(); }