The Community forums are being phased out in favor of a new Slack group.
Add your email address below to get an invitation to join the community slack group
Uppercase problem solved
in order to solve the uppercase problem, you may follow the following recipe... It will solve capitilizing the lowercase letters
just place this code in your header.php file before the </head> tag.
<script type="text/javascript">
function up(lstr)
{
var str=lstr.value;
lstr.value=str.toUpperCase();
}
</script>
then find and edit "input.php" in /wp-content/plugins/formidable/classes/views/frm-fields
then make necessary additions as explained below.
1. find this line. it should be 2 - 3 line.
<input type="text" id="field_" name="" value="" .....
and add onkeyup="up(this)" . just like this..
<input onkeyup="up(this)" type="text" id="field_" name="" value=""....
2. find this line. it should be 4-5 line.
<textarea name="" id="field_....
and again add onkeyup="up(this)" . just like below.
<textarea onkeyup="up(this)" name="" id="field_...
* this will capitilize all lowercase letters to uppercase live.
** you should do this code replacement everytime the formidable is updated.
hope this works for you.
March 7, 2015 at 6:25 am
I think It should bu updated as follows.
the code that has to be between head tags (dont forget to place in the script writing.)
script language="javascript" type="text/javascript"
function pulsar(obj) {
obj.value=obj.value.toUpperCase();
}
/script
then edit “input.php” in /wp-content/plugins/formidable/classes/views/frm-fields
1 - Find
<input type="text" id="field_" name="" value="" .....
Add onkeyup="pulsar(this)" just like below...
<input onkeyup="pulsar(this)" type="text" id="field_" name="" value="" .....
2 - Find
<textarea name="" id="field_....
Add onkeyup="pulsar(this)"
<textarea onkeyup="pulsar(this)" name="" id="field_....
Hope It works for you too...
March 7, 2015 at 6:31 am
You can fint it in the link below
http://community.sitepoint.com/t/convert-to-uppercase-while-typing/3345
April 3, 2019 at 12:07 pm
I think I should update this issue.
here is an other easy solution..
Find "formidableforms.css" in below line...
** \formidable\css\formidableforms.css
search for "frm_capitalize"
Find {text-transform:capitalize;}
replace as below
{text-transform:uppercase;}
save...
And add frm_capitalize to the CSS layout classes where you would like to use...
*** Dont Forget ***
/* WARNING: Any changes made to this file will be lost when your Formidable settings are updated */
Discussion closed.