Development

#732 (Repopulate FCK enriched textarea fails after validation reload)

You must first sign up to be able to contribute.

Ticket #732 (closed defect: fixed)

Opened 2 years ago

Last modified 4 months ago

Repopulate FCK enriched textarea fails after validation reload

Reported by: snowkrash@zonnet.nl Assigned to: FabianLange
Priority: minor Milestone: 1.0.15
Component: form Version: 1.0.13
Keywords: repopulation validation form helper rich text editor Cc:
Qualification: Accepted

Description

Hi,

I noticed that after a form validation fails the repopulation fails on textarea's that are enriched with FCKeditor.

Repopulation works as expected with the TinyMCE rich text editor and --of course-- the normal textarea. Only with FCK repopulation fails.

Normal textarea (repopulation works)

<label for="omschrijving">Poule omschrijving</label><?php echo textarea_tag('omschrijving', '', 'size=30x10') ?>

TinyMCE (repopulation works)

<label for="omschrijving">Poule omschrijving</label><?php echo textarea_tag('omschrijving', '', 'size=30x10 rich=true tinymce_options=language:"nl"') ?>

FCKeditor (repopulation fails)

<label for="omschrijving">Poule omschrijving</label><?php echo textarea_tag('omschrijving', '', 'size=30x10 rich=fck tool=Basic config=FCKeditor/custom_config.js') ?>

validation file fillin block

fillin:
    activate: on   # activate the form repopulation

Change History

12/07/06 22:44:54 changed by fabien

  • milestone set to post-1.0.

02/26/08 05:03:04 changed by Carl.Vondrick

  • owner set to fabien.
  • version changed from 0.7.X to 1.1.0.
  • component set to form.
  • qualification set to Unreviewed.
  • milestone changed from post-1.0 to 1.1.0.

Is this fixed in sfForm?

05/06/08 16:00:59 changed by FabianLange

  • owner changed from fabien to FabianLange.
  • status changed from new to assigned.
  • version changed from 1.1.0 DEV to 1.0.13.
  • qualification changed from Unreviewed to Accepted.
  • milestone deleted.

just discovered this from IRC. the issue is that FCK editor will not render a textarea as MCE, but only javascript. thats why the fillin cannot find the textarea. I check if i can fix this. (should be for 1.0 and for 1.1 then)

05/07/08 00:54:41 changed by FabianLange

  • status changed from assigned to closed.
  • resolution set to fixed.
  • milestone set to 1.0.15.

(in r8832) fixed FCK editor not being populated by fillin filter. fixes #732