Select Page

Search Knowledge Base by Keyword

Search Knowledge Base by Keyword

Upper Case Letters

Goal:

Change lower case letters inserted by a user to a Text Input to upper case letters.

Instructions:

  1. Create the Template tag (name does not matter for the script) and attach this tag to a Text Input where should be upper case letters only.
  2. Insert the below-mentioned script to that tag.

Script Example:

var str = LEGITO.documentBuilder.event.element.getValue(res);

var res = str.toUpperCase();

LEGITO.documentBuilder.event.element.setValue(res);