Forced lower case input in text field

@kingkai,

Yes, this is possible using the built-in toLowerCase() function. See this .rp file for two methods. One converts the text to lower case on a Text Field widget using the OnTextChange event, so as each character is entered the text value is converted. The other converts to lower case on submit, by clicking the SUBMIT button or pressing the Enter key (because the button is assigned as the text field’s submit button in the Properties panel.

Force Lower Case.rp (53.8 KB)

You can find all sorts of useful variables and functions by clicking the “Insert Variable or Function…” link in the “fx” or “Edit Text” dialog.

1 Like