WordPress.org

Ready to get started?Download WordPress

Forums

Simply Poll
How Can I Modify Text Formatting - From lowercase to Actual? (4 posts)

  1. kirkward
    Member
    Posted 2 years 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/

  2. Mark (podz)
    Support Maven
    Posted 2 years ago #

    /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

  3. kirkward
    Member
    Posted 2 years 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!

  4. Mark (podz)
    Support Maven
    Posted 2 years ago #

    Excellent - thanks for posting the solution :)

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic