Select to view content in your preferred language

About eSearch widget---the input of the 'Text Search'

471
1
05-08-2012 10:29 AM
LeiZhou
Deactivated User
In Text Search, can I make the user entered value an Upper case? E.g., When I input 'ah23', it can convert to 'AH23' in the text bar, is that possible? Thanks!
Tags (2)
0 Kudos
1 Reply
AnthonyGiles
Honored Contributor
Steven,

Do you want to just search on uppercase values or have the text box value change to upper case?

If it is just searching on uppercase then use the upper command in your search i.e:

searchfield = upper('[value]')

if you want to display the text input as uppercase you will need to add a function to the input field such as

onLostFocus="txtSearch.text = txtSearch.text.toUpperCase();"

Regards

Anthony
0 Kudos