Skip to main content

This site requires you to update your browser. Your browsing experience maybe affected by not having the most up to date version.

All other Modules

Discuss all other Modules here.

Moderators: martimiz, Sean, biapar, Willr, Ingo, swaiba, simon_w

Userforms - checkbox group parse error


Reply

6 Posts   1138 Views

Avatar
NickJacobs

2 December 2009 at 5:45pm Community Member, 144 Posts

Hi, I'm trying to add a checkbox group to a userform, and when I try to publish it gives me a javascript parse error.

I can save it and view in draft and all looks & works fine, but I just cannot publish it.

I'm on ss2.3.4 with latest version of userforms.

Any ideas??

Avatar
Double-A-Ron

2 December 2009 at 7:17pm Community Member, 604 Posts

Hi Nick,

Are you able to use firebug to get the specific error please?

Aaron

Avatar
NickJacobs

3 December 2009 at 8:22am Community Member, 144 Posts

Hi A-ron the error is:

<b>Fatal error</b>: Call to undefined method EditableFormField::publish() in <b>/var/www/vhosts/futurefit.co.nz/httpdocs/userforms/code/editor/EditableMultipleOptionField.php</b> on line <b>50</b><br />

Avatar
Double-A-Ron

3 December 2009 at 11:52am Community Member, 604 Posts

Ah, now this one I have seen, I bet you get the same with dropdowns too.

http://open.silverstripe.org/ticket/4586

In that ticket, Will says he was only able to duplicate on certain versions of PHP.

What version/revision of SS and Userforms are you running?

Aaron

Avatar
NickJacobs

3 December 2009 at 12:10pm Community Member, 144 Posts

Hi SS is the latest stable release ( $URL: http://svn.silverstripe.com/open/modules/cms/tags/2.3.4/silverstripe_version $ )

Userforms is the current SVN : revision 94278

Avatar
Double-A-Ron

3 December 2009 at 12:32pm Community Member, 604 Posts

Yeah, not 100% sure on this one but I found that same error on Userforms r89035 and I'm not sure if this has been looked at further in later revisions.

I found I had to scale back to r85338 to get it working.

Aaron