: 4581 | 108544 | 12346

Implement onChange event on all fields in the Notes client 
New idea submissions, commenting and voting are no longer available on this site. Logins have also been disabled.
Use this IdeaSpace to post ideas about Domino Designer.

: 63
: 64
: 1
: Domino Designer
: fields, event
: Slawek Rogulski8874 26 Nov 2007
:
: / Email
I would like all fields to have the onChange event implemented, perhaps excluding rich text fields. And I would like that event to fire right after a change in the field value, not when the field looses focus. By that time it is sometimes too late to do anything about the change.



1) Jane Griscti251 (28 Nov 2007)
It would be nice if the onChange code did not also trigger when the field is exited.
2) Joseph Hoetzl4703 (15 Aug 2008)
Wow, was just going to post about this one!

"This event occurs when the field loses focus and its value has been modified since gaining focus." Why do we need to lose focus...kind of defeats the name, it isn't OnChangeAndMoveOff!
3) chris boote909 (05 Dec 2008)
It's there already (in 8.0.2 at least) for some field types
'twirly hat' tab
Special Notes Client Event Options
□ Run Exiting/OnChange events after value changes
4) Neven Susa36 (28 Aug 2013)
Run Exiting/OnChange event exists on multivalue field types Chechbox, RadioButton and combobox. What I'm missing is the same functionality for eg. plain text fields. I want to implement instant search/autocomplete function in fashionable and modern way. This is currently not possible in classic LN applications.
5) Neven Susa36 (28 Aug 2013)
In the meantime I learned to use JavaScript technique (with regards to Chris Blatnick, { Link }

Proposed solution would be:
1) JSHeader event of the form:
var useClick;
var f = document.forms[0];
useClick = setInterval("f.search.click()",250)
2) onUnload event of the form (because of some JS memory leak):
if (useClick > 0) {
clearInterval(useClick);
}
3) the code that would otherwise be in onChange event of the field -> create hidden button and put the code in onClick event
4) onFocus event of the field:
useClick = setInterval("f.search.click()",250)
5) onBlur event of the field:
clearInterval(useClick);










:
:




Welcome to IdeaJam™


You can run IdeaJam™ in your company. It's easy to install, setup and customize. Your employees, partners and customers will immediately see results.

Use IdeaJam to:

  • Collect ideas from employees
  • Solicit feedback and suggestions from employees and customers
  • Run innovation contests and competitions
  • Validate concepts
  • Use the power of "crowd-sourcing" to rank ideas and allow the best ideas to rise to the top

IdeaJam™ works with:

  • IBM Connections
  • IBM Lotus Quickr
  • Blogs and Wikis
  • Websphere Portal
  • Microsoft Sharepoint
  • and other applications.

IdeaJam has an extensive set of widgets and API's that allow you to extend and integrate IdeaJam™ with other applications.

Learn more about IdeaJam >>






IdeaJam developed by

Elguji Software Logo