This topic is locked

$ value = strtoupper ( значение $ ); is not working

12/7/2017 5:06:40 AM
PHPRunner General questions
A
a4.mail@mail.ru author

I use PHPRunner 9.8 (Build 29725x64), style bootstrap1. Used the function "$ value = strtoupper ( value $ ); " to display the values of certain text fields in the upper register on the list page. But after upgrading my site the values of the fields continue to be displayed in lower case in different Internet browsers. What am I doing wrong?


image:

https://cloud.mail.ru/public/Gchj/feoRt7aoR

T
thamestrader 12/11/2017

You may need to do this in two events, this works for me, caveat - its v9.6 and not Bootstrap:
In the before add or edit event - to store uppercase in the database.

$values["NumData"] = strtoupper($values['NumData']);
var ctrl = Runner.getControl(pageid, 'NumData');

ctrl.addStyle('text-transform: uppercase;');

[font="Century Gothic"]The above code is copied directly from one of my pages.

A
a4.mail@mail.ru author 12/13/2017



You may need to do this in two events, this works for me, caveat - its v9.6 and not Bootstrap:
In the before add or edit event - to store uppercase in the database.

$values["NumData"] = strtoupper($values['NumData']);
var ctrl = Runner.getControl(pageid, 'NumData');

ctrl.addStyle('text-transform: uppercase;');

[font="Century Gothic"]The above code is copied directly from one of my pages.


Thanks for a good answer. I will test these. It is a pity that the claimed feature is not working. Sorry for possible mistakes. I don't speak English, I use electronic translator.