Well, I found a way to make it work. Basically, I added an onsubmit handler to manually set the formfield's value to be the value of the rich-text area. It seems like there should be another way and I'm missing something, but this works. (The regular submit works fine if I don't do use jquery/ajax to submit the form.)
Scott On Sun, Feb 28, 2010 at 12:50 PM, Scott Brady <[email protected]> wrote: > 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/ > -- ----------------------------------------- Scott ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| 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:331203 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4

