Skip to main content
Topic: Upper case in Textbox ? (Read 1848 times) previous topic - next topic

Upper case in Textbox ?

I cannot find any property that can convert typing to uppercase.. in adding or editing page
How to do this ??

thanks in advance

Re: Upper case in Textbox ?

Reply #1
You will need to use page events before add or before update, to add your php code to convert it to upper before it is inserted or you could use client event in the add or edit page field properties to add you jquery code to convert the input content to upper case. Because you don't get that in add or edit page field properties. 

Re: Upper case in Textbox ?

Reply #2
hello i would like to concat name and firstname with uppercase lowercase i used this code after update

$params = array($rec_id);
$bool   = $db->rawQuery("UPDATE candidat SET nom_prenom = concat(UPPER(nom), ' ',concat(UPPER(SUBSTRING(prenom,1,1)),LOWER(SUBSTRING(prenom,2)))) WHERE id = ?", $params);



it works very well in phpmyadmin but in phprad it shows name uppercase but first name '0'

CAn you help me ?

Re: Upper case in Textbox ?

Reply #3
my fault sorry i forgot one space  :D