kirkward
Member
Posted 5 months ago #
I have Simply Poll installed and it is working fine. My problem is that the question and the answer options are all transformed to lowercase and I cannot find the option that transforms them.
I have searched every file (starting with the css) for the css "text-transform" parameter, and for the php "strtolower" function. I can't find either.
All lowercase may be web 2.0 cutesy, but I don't want it. How can I get the plugin to allow sentence capitalization of the questions and the answers?
Thanks for anyone's help!
http://wordpress.org/extend/plugins/simply-poll/
/script/validator.min.js has two instances of toLowerCase
http://www.w3schools.com/jsref/jsref_tolowercase.asp
What this does not say is how to stop that and I can't help there, sorry.
http://www.w3schools.com/jsref/jsref_obj_string.asp
kirkward
Member
Posted 5 months ago #
Went to the link for sting objects ...
http://www.w3schools.com/jsref/jsref_obj_string.asp
and took a chance (after making copies of course!) and replaced "toLowerCase" with "ValueOf." It worked. I got the strings to appear with the title case as I had input it.
Thanks a bunch for the js tip!
Excellent - thanks for posting the solution :)