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

  1. kirkward
    Posted 4 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!


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

    /script/validator.min.js has two instances of toLowerCase

    What this does not say is how to stop that and I can't help there, sorry.

  3. kirkward
    Posted 4 years ago #

    Went to the link for sting objects ...

    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 4 years ago #

    Excellent - thanks for posting the solution :)

Topic Closed

This topic has been closed to new replies.

About this Plugin

  • Simply Poll
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic