Formatting the cfinput richtext area

Posted on 2009-04-19
Last Modified: 2013-12-24
I am building a form.  I would like to use the RTE cfinput attribute, but it gives me WAY too many buttons (see screenshot).

How do I control which buttons are used in the toolbars?

Also, does this save the copy as html in the a blob element of a mysql field.

Thanks Experts!
<cfinclude TEMPLATE="adminHeader.cfm">

<div style="width:600px; text-align:left;">


<fieldset style="background-color:#CCC;">

<legend>New Question</legend>

<p><label for="questNumb">Question Number</label><cfinput NAME="questNumb" TOOLTIP="Question order during the test" TYPE="TEXT" SIZE="4" VALIDATE="INTEGER"></p>

<p><label for="questCopy">Question Copy</label><br />

<cftextarea NAME="questCopy" REQUIRED="yes" TOOLTIP="Enter The Question Here" RICHTEXT="YES" COLS="65" ROWS="10"></cftextarea></p>

<p><label for="ansA">A</label>

<cfinput NAME="ansA" TYPE="TEXT"></p>

<p><label for="ansB">B</label>

<cfinput NAME="ansB" TYPE="text"></p>

<p><label for="ansC">C</label>

<cfinput NAME="ansC" TYPE="TEXT"></p>

<p><label for="ansD">D</label>

<cfinput NAME="ansD" TYPE="TEXT"></p>

<p><label for="ansR">Correct Answer</label><br />

<cfselect NAME="ansR">

	<option value="A">A</option>

	<option value="B">B</option>

	<option value="C">C</option>

	<option value="D">D</option>


<p><cfinput NAME="submit" TYPE="SUBMIT" VALUE="Save Question" VALIDATE="SUBMITONCE"></p>




Open in new window

Question by:Short-Order-Coder
    LVL 27

    Expert Comment

    it's really all covered in the CFML reference manual and CF Developers Guide.

    if you do not have them - download free PDFs from

    and Rakshith (from CF dev team) has a very good blog post about CF8 richtext editor:

    LVL 27

    Accepted Solution

    PS: at the very least, add toolbar="basic" to your <cftextarea> tag - this will display a toolbar with a fewer buttons.


    Write Comment

    Please enter a first name

    Please enter a last name

    We will never share this with anyone.

    Featured Post

    How your wiki can always stay up-to-date

    Quip doubles as a “living” wiki and a project management tool that evolves with your organization. As you finish projects in Quip, the work remains, easily accessible to all team members, new and old.
    - Increase transparency
    - Onboard new hires faster
    - Access from mobile/offline

    Suggested Solutions

    CFGRID Custom Functionality Series -  Part 1 Hi Guys, I was once asked how it is possible to to add a hyperlink in the cfgrid and open the window to show the data. Now this is quite simple, I have to use the EXT JS library for this and I achiev…
    Password hashing is better than message digests or encryption, and you should be using it instead of message digests or encryption.  Find out why and how in this article, which supplements the original article on PHP Client Registration, Login, Logo…
    Migrating to Microsoft Office 365 is becoming increasingly popular for organizations both large and small. If you have made the leap to Microsoft’s cloud platform, you know that you will need to create a corporate email signature for your Office 365…
    Internet Business Fax to Email Made Easy - With eFax Corporate (, you'll receive a dedicated online fax number, which is used the same way as a typical analog fax number. You'll receive secure faxes in your email, fr…

    779 members asked questions and received personalized solutions in the past 7 days.

    Join the community of 500,000 technology professionals and ask your questions.

    Join & Ask a Question

    Need Help in Real-Time?

    Connect with top rated Experts

    16 Experts available now in Live!

    Get 1:1 Help Now