FAQ Home :
Can you automatically refresh when a keyword field is changed?
Can you automatically refresh when a keyword field is changed?

AnswerFrom hellerr@msnotes.wustl.edu:
Enable the Database Property "Web access:Use Javascript when generating pages". In your form, place an Action Button with the formula:
@Command([ViewRefreshFields])
This MUST be the FIRST action button, because this trick depends upon its position, which must not change.
Open the form from a browser.
View the Document(Page) source in your browser.
You will see something like this where the first button's code is:
<A HREF="javascript:_doClick('94bb0ce58b790fd086256713005f5721/$ACTIONS/0.1e')">
Copy it to the clipboard.
Now, for each keywords field that you want to refresh on a click (like selecting a radio button or checkbox), paste it into the HTML Attributes so the syntax looks like this:
"OnClick=\"_doClick(\'94bb0ce58b790fd086256713005f5721/$ACTIONS/0.1e\')\""
For fields that need to cause a refresh on change rather than click, change OnClick to say OnChange.
Now you can hide that Action button, but never remove it.
From michael.holmstrom@datavis.se
:
You can also call
_doClick('$Refresh', this, '_self', '')
from the onChange event of a web field.
Attachments -none-
Applies to versions4.x; 5.x
FAQ Provided Byken yee
CreditClick here for information source
 Forum Latest Entries
03/02/2010 Lotus Notes Forum - Browser    (Steve)
27/01/2010 Lotus Notes Forum - UIDocument won't close    (Tom Doughty)
27/01/2010 Lotus Notes Forum - UIDocument won't close    (Tom Doughty)
26/01/2010 Lotus Notes Forum - Total Items    (Marc)
21/01/2010 Lotus Notes Forum - NotesEmbeddedObject & ExtractFile    (Paul)
18/01/2010 Lotus Notes Forum - Archive Solution at Lotusphere 2010, booth 730    (Kim van den Berg)
16/01/2010 Lotus Notes Forum - Lotus Notes Application and IE8    (Mantasha)
13/01/2010 Lotus Notes Forum - How to copy Internet Address into Short name field from server addressbook    (Ashish Mhabadi)
11/01/2010 Lotus Notes Forum - auto add recipient to address book    (Baron)
08/01/2010 Lotus Notes Forum - Code to calculate weekNumber in Lotus Notes    (Jai)
05/01/2010 Lotus Notes Forum - Mailing to multiple database    (Brian Drew)
14/12/2009 Lotus Notes Forum - Add MIME X-header to outgoing message    (Slava Ivanov)
08/12/2009 Lotus Notes Forum - How to convert content of a PDF document in a Notes Document    (Saurav Banerjee)
03/12/2009 Lotus Notes Forum - Any way to track if a user deleted an E-mail without reading?    (Pete)
02/12/2009 Lotus Notes Forum - Aeron    (Narender )
27/11/2009 Lotus Notes Forum - Tip: Lotus Notes mail and application Archive Solution    (Kim van den Berg)
24/11/2009 Lotus Notes Forum - lotes notes server for remote isdn dialup client    (manivel)
20/11/2009 Lotus Notes Forum - problem in install domino administrator with lotus notes    (ankur diyora)
09/11/2009 Lotus Notes Forum - Put pictures next to senders name    (Charlotte)
30/10/2009 Lotus Notes Forum - Newbie question. How to import files with multivalue fields?    (Edi)
 Latest Tips & Tricks
10/07/2009Terminal Services Tips & Tricks - How to kill terminal server sessions. Utilities for terminal services: qwinsta and rwinsta(Steven Charles Robinson)
10/07/2009.NET Tips & Tricks - The type or namespace name could not be found (are you missing a using directive or an assembly reference?)(SCRobinson)
10/07/2009Terminate Lotus Notes Processes, Error Tips & Tricks - Lotus Notes: An Error Was Encountered While Opening A Window(Steven Charles Robinson)
26/04/2007LotusScript Mail, SMTP, Spam, Junkmail Tips & Tricks - How to drag and drop spam into junk mail filter using LotusScript(Steven Charles Robinson)
31/10/2006Terminate Lotus Notes Processes, Error Tips & Tricks - Lotus Notes: An Error Was Encountered While Opening A Window(Steven Charles Robinson)
23/10/2006Errors, SMTP, Internet Sites, Configuration, Administration, Domino 7 Tips & Tricks - Domino authentication is not enabled in the smtp internet site document(Steven Charles Robinson)
20/10/2006Articles Tips & Tricks - Have you see our recent arcticle in "The View": Proven techniques for abstracting UI from data using XML, XSL and Domino.(Steven Charles Robinson)
26/09/2006.NET Tips & Tricks - If your looking for .NET tips visit http://www.codedotnet.net(S C Robinson)
25/09/2006Using Lotus Notes Tips & Tricks - Save the Window state of a Lotus Notes client on shutdown.(Steven Charles Robinson)
22/09/2006NET, Culture, Globalization Tips & Tricks - How to find out the current culture in a .NET application.(Steve C Robinson)
© 2003 notes411.com. All rights reserved. Disclaimer. site designed & developed by appsworks.com
Lotus Notes is a registered trademark of IBM. This site is not affiliated with IBM or Lotus.
 News

 Google Box
 Sponsor
ClearCase, Subversion, WebSphere Consulting
 Best in the Industry
Lotus Notes & Domino FAQ