I am using this module in a panel on the node / edit form. When I have a nodereference field or a file upload button while using a collapsible field from this module on the same pages, the nodereference or file fields upload when i press the add more items or upload buttons.

This ONLY happens when i am using a collapsible token in the same page, and immediately goes away when i take it out.

The weird thing is it ONLY does it in Internet Explorer. its kind of like an AHAH error or something

Comments

Exploratus’s picture

Title: Internet Explorer » Internet Explorer / Node Edit Form / Collapse Text

change title

pukku’s picture

I don't know what would be causing this. However, I have just posted a new version that takes a rather different approach, so it may solve your problem?

pukku’s picture

Assigned: Unassigned » pukku

This module introduces a new form into the page, and my guess is that this is confusing the AJAX stuff for the other form. Especially where panels is involved, I think things can get really complicated quickly.

One possibility, if you know something about coding, would be to use the theme layer to change theme_collapse_text_form, and change how it renders. My guess is that you could change the #type of the element to something like item, and then drupal_render() that element (you may need to modify a few other keys to make it work right...).

Ricky

pukku’s picture

I just posted a new version (6.x-2.5) which may fix this. This version allows you to turn off the extra form tag by adding '[collapse options form="noform"]' to the start of the text which shouldn't have a form.

Please let me know if this works for you.

Ricky

pukku’s picture

Marking this as fixed, as I haven't heard from the author, and I think the [collapse options form="noform"] should fix this problem.

pukku’s picture

Status: Active » Fixed

Doh! Need to actually make the change in status...

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.