Page 1 of 1

Forcing Uppercase in text entry field

Posted: Fri Apr 18, 2008 3:00 am
by Nomi
I need to keep the input of a text entry field all in Uppercase. Is there either a way to do this at input, or a way to change the results to all uppercase after input?

Thanks!

- Noel

Posted: Fri Apr 18, 2008 9:06 am
by Klaus
Hi Nomi,

put this into your field(s):

Code: Select all

on closefield
  if me <> empty then
    repeat for each char i in me
      put toupper(i) after new_content
    end repeat
    put new_content into me
  end if
end closefield 
Tested, works and will probably do what you want :-)


Best

Klaus

Posted: Fri Apr 18, 2008 4:55 pm
by Nomi
Worked perfectly! Thank you :)

- Noel