Jump to:

10848 Posts in 2516 Topics by 1792 members

All other Modules

SilverStripe Forums » All other Modules » Frontend for UserForms module not work

Discuss all other Modules here.

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

Page: 1
Go to End
Author Topic: 995 Views
  • mhouchin
    Avatar
    Community Member
    2 Posts

    Frontend for UserForms module not work Link to this post

    Hi,

    I have just installed the UserForms module, it works absolutely fine in the administration however when trying to view the page on the frontend I get the following error:

    [User Error] Object::__call() Method 'Fields' not found in class 'UserDefinedForm_Controller'

    I have traced this to userforms/code/UserDefinedForm.php line 272:

    foreach( $this->Fields() as $field ) {
             $fields->push( $field->getFormField() );
             if( $field->Required )
                $required[] = $field->Name;
          }

    Anyone know what would be causing this? Did I miss something? I haven't modified the module in anyway. Searched alot but I can't seem to find this problem mentioned anywhere else.

    The site is running Silverstripe 2.3 RC3

    Thanks in advance

    Mark

  • mhouchin
    Avatar
    Community Member
    2 Posts

    Re: Frontend for UserForms module not work Link to this post

    Found out this was due to modified core code.

    995 Views
Page: 1
Go to Top

Want to know more about the company that brought you SilverStripe? Then check out SilverStripe.com

Comments on this website? Please give feedback.