We're trying to implement using the built-in CF9 rich text editor
(CKEditor) and using jquery to submit it with ajaxForm() (from the
form plugin).  However, the content of the RTE form field isn't being
sent on to the page. If I revert back to a plain textarea, it works
just fine.

Here's the form code:
<cfform name="editFormWaiver" id="editFormWaiver"
action="#myFusebox.getMyself()##event.xfa('saveWaiver')#"
method="post">
        <input type="hidden" name="swimMeetID" id="swimMeetID"
value="#request.objSwimMeet.getSwimMeetID()#" />

        <cftextarea richtext="true" skin="office2003" height="400"
width="800" name="waiverContent" id="waiverContent" toolbar="Basic"
wrap="virtual">#request.objSwimMeetWaiver.getContent()#</cftextarea>
        <br />
        <br />
        <button type="submit" name="submitBtnWaiver" id="submitBtnWaiver"
value="Save">Save & Continue</button>
</cfform>


And here's the JS that sets up the form in the document.ready():
var saveWaiverOptions =
{
        dataType: 'text',
        resetForm: true,
        success: processSaveWaiver
};

$("#editFormWaiver").ajaxForm(saveWaiverOptions);

Is there something obvious I'm doing wrong? I would assume so, because
I haven't been able to find anyone else with this problem yet.

Scott
-- 
-----------------------------------------
Scott Brady
http://www.scottbrady.net/

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Want to reach the ColdFusion community with something they want? Let them know 
on the House of Fusion mailing lists
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:331202
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4

Reply via email to