I was wondering if there is any way to force capital letters on a text input.
May be a silly question but sure would be happy to know.
1. Create a UI-Only field of type text which you then put on your page layout
2. Create a UI-Only field of type formula which uses the formula:
3. Create an action on that model which updates your Salesforce field that you want in capital letters whenever the Ui-Only text field is updated.
Dig? The issue with this is it’s not validation but it does enforce capitalised output.
Good suggestion but unfortunately this wont fix what I am trying to achieve. It is using caps I intended to block the iphones predictive text.
Any more suggestions?
I have not tried this myself, but it looks like you can add an attribute to the input to turn off ‘autocapitalization’. See this link-> https://stackoverflow.com/questions/4722623/disable-predictive-text-on-iphone-for-a-form-field
Here is an example:
<input type="text" autocomplete="off" autocorrect="off" autocapitalize="off">
Thanks Bill for sharing your idea!
Matt, was this helpful for you?