Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Code Block
languagejava
this.fm.registerHandler("valuechange", "NAME_ID", function(fm, event, fieldName, value) 
{
	fm.model.setValue('NAME_ID', value.toUpperCase());
});
 
// Here, valuechange is the event.
// NAME_ID is the form item ID.
// value.toUpperCase() – This is a function that changes the text to uppercase. 

...