Welcome, Guest
Username: Password: Remember me
  • Page:
  • 1
  • 2

TOPIC: Display < " > correctly in response options?

Re: Display < " > correctly in response options? 1 year 1 month ago #4305

  • chris
  • chris's Avatar
  • OFFLINE
  • Administrator
  • Posts: 1463
  • Thank you received: 13
  • Karma: 5
Yes, the filter tag is another <start> and <end> style of Score Script tag, just like the replace tag.

The way to strip white space out of the user's given answer would be something like the following:
[:filter:no_whitespace:<start>:][:info:1:user_response:][:filter:<end>:]

You can replace the [:info:1:user_response:] with any Score Script tag or Score Script code/content depending on what exactly you want to do.

There is also the possibility to remove white space except for white space within HTML and Score Script tags:
[:filter:no_whitespace_outside_tags:<start>:][:info:1:user_response:][:filter:<end>:]
The administrator has disabled public write access.
  • Page:
  • 1
  • 2
Time to create page: 0.347 seconds

This is the official website for Mad Blanks, a component written for Joomla!™

Mad Blanks, when used with Joomla!™, will allow you to give a quiz on your site. You can also use it to give a survey. Quizzes and surveys are popular applications on the Internet, including personality quizzes, name generators, and assessments.

This website and the featured software products herein written for Joomla!™ are the property of Chris Hallett, an independent programmer. Chris does not represent Open Source Matters, Inc. nor the Joomla!™ project.

Mad Blanks, Mad Current Event, and Mad Simple True False Quiz are licensed under the GNU General Public License (GPL) version 2.

www.madblanks.com | Mad Blanks - Quiz, survey, assessment, calculator, general purpose form

Terms & Conditions | Privacy Policy | Contact Us | © 2013 Chris Hallett

Friday the 24th. Joomla Templates Free.