Opened 12 years ago

Closed 12 years ago

#974 closed Bug (invalid)

Form validation with coldfusion and fckeditor.

Reported by: hoffmandirt Owned by:
Priority: Normal Milestone:
Component: General Version: FCKeditor 2.4.3
Keywords: Cc:

Description

I am attempting to use client side validation for the fckeditor to ensure that there is a value in the editor before the form is submitted. However, it looks as if the form field, "myEditor" in this case, does not get it's value set from the editor until the form has been submitted. This in turn requires the form to be submitted twice, with the first submittal displaying the "This field is required message." even when there is text in the editor. It would be nice if the value was set as the user typed or maybe when the editor loses focus. I have attached my source.

Attachments (2)

index.cfm (1.2 KB) - added by hoffmandirt 12 years ago.
Coldfusion page displaying the editor in a test form.
fckcustom.js (2.1 KB) - added by hoffmandirt 12 years ago.
My custom config file for the editor.

Download all attachments as: .zip

Change History (3)

Changed 12 years ago by hoffmandirt

Attachment: index.cfm added

Coldfusion page displaying the editor in a test form.

Changed 12 years ago by hoffmandirt

Attachment: fckcustom.js added

My custom config file for the editor.

comment:1 Changed 12 years ago by Alfonso Martínez de Lizarrondo

Resolution: invalid
Status: newclosed

Please, use our forums for discussion and general help. Check also the wiki

Note: See TracTickets for help on using tickets.
© 2003 – 2019 CKSource – Frederico Knabben. All rights reserved. | Terms of use | Privacy policy