Capital Letters in forms

Issues related to forms.
Post Reply
mnkdigital
 
 
Posts: 3
Joined: Mon Sep 18, 2017 5:18 am

Capital Letters in forms

Post by mnkdigital » Sat Aug 11, 2018 1:53 am

Hi,

Does anyone know if it is possible for the text in an Edit Box on a form to be submitted in all capital letters?

TIA

Kevin

User avatar
Pablo
 
Posts: 14603
Joined: Tue Mar 28, 2006 12:00 pm
Location: Europe
Contact:

Re: Capital Letters in forms

Post by Pablo » Sat Aug 11, 2018 6:50 am


mnkdigital
 
 
Posts: 3
Joined: Mon Sep 18, 2017 5:18 am

Re: Capital Letters in forms

Post by mnkdigital » Sat Aug 11, 2018 7:10 pm

Thank you for the link. I did find that following code on that site that might do the trick.
___________________
The issue with CSS Styling is that it's not changing the data, and if you don't want to have a JS function then try...

<input onkeyup="this.value = this.value.toUpperCase()" />

on it's own you'll see the field capitalise on keyup, so it might be desirable to combine this with the style='text-transform:uppercase' others have suggested.
__________________________

I just don't know how to insert it. Sorry, I am new to this.

WWBman
 
 
Posts: 691
Joined: Fri Jan 08, 2010 6:10 pm

Re: Capital Letters in forms

Post by WWBman » Sat Aug 11, 2018 8:46 pm


mnkdigital
 
 
Posts: 3
Joined: Mon Sep 18, 2017 5:18 am

Re: Capital Letters in forms

Post by mnkdigital » Sat Aug 11, 2018 9:01 pm

Thank you very much for the help! this looks like it will do what I am looking for. Have a great weekend! :D :D :D :D

Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest