JavaScript Code to Refresh a Form Keeping Field Values (Do Click - F9 Equivalent)
Mindwatering Incorporated
Tripp W Black on 03/02/2002 at 08:05 PM


Category: Notes Developer Tips
Forms/Subforms

Domino form / document refresh using JavaScript:

Better Option (Domino6 + ):
if(ValidationFunc()==true) {
return _doClick('$Refresh', this, null);
}

Note:
A longer version to specify a frame and what field to base refresh on:
return _doClick('$Refresh', this, '_self', '#_RefreshKW_' + 'somefieldname' );

Old Option:
document.forms[0].__Click.value='$Refresh';
document.forms[0].submit();"


previous page

mailcheck your mailaccountsclient loginportfolioportfoliohostinghostingpromopromossupporthelpaccountsSMS