Changing Text to Uppercase or Lowercase

From SmartWiki
Jump to: navigation, search

You can change the case of the text entered in a custom field by writing this code in HTML Tag box in the custom field settings.

To convert entered text to Uppercase


To convert entered text to lowercase


The code gets executed as soon as the user enters a value and clicks anywhere outside the field (even without having to hit SAVE).

You can also use onBlur instead of onChange

  • onBlur runs when the focus moves away from the current field
  • onChange runs when the content of the field has changed