Jump to:

10845 Posts in 2513 Topics by 1792 members

All other Modules

SilverStripe Forums » All other Modules » UserForms 0.2

Discuss all other Modules here.

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

Page: 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24
Go to End
Author Topic: 25768 Views
  • valentin83
    Avatar
    Community Member
    13 Posts

    Re: UserForms 0.2 Link to this post

    Hi, please give me an answer to my dilemma ...

  • valentin83
    Avatar
    Community Member
    13 Posts

    Re: UserForms 0.2 Link to this post

    The issue was solved. I replaced the version of the module, I had a trunk version and I think that was the reason nothing worked. Anyway, thank you for your assistance.

  • stew
    Avatar
    Community Member
    30 Posts

    Re: UserForms 0.2 Link to this post

    Hey willr,

    I've managed to get the module installed and working pretty much as I need, however I am wondering if it is possible to retrieve the submitted data on the public side of the site.

    I'm using the module to allow people to register details for various tournaments - Team Name, Team Members, and an Image. What I had hoped to be able to do was to allow users to see the list of registered Teams (and the associated information)... is this possible?

    Thanks for you help,

    Stewart

  • Willr
    Avatar
    Forum Moderator
    5462 Posts

    Re: UserForms 0.2 Link to this post

    You could get the data, but you would need to write some custom code.

    All the data is stored in 2 tables 'SubmittedForm' and 'SubmittedFormField'. You could get the all the submissions for a given page by writing a dataobject get like

    $submissions = DataObject::get('SubmittedForm', "ParentID = '$IDofYourPage');

    Then you can view the individual form fields via $submissions->FieldValues();

    Like I said, this does require some code so if you haven't gone through the tutorials I suggest you do so.

  • turtleline
    Avatar
    Community Member
    6 Posts

    Re: UserForms 0.2 Link to this post

    Hi,

    I have created a form which works great in draft mode. When I click save and publish it displays the error: "Javascript Parse Error".

    SilverStripe 2.3.3
    Originally downloaded UserForms from link on documentation page. After reading forums have since located and tried rolling back to 0.2.0 and currently have tried UserForms-trunk-r89143
    Have run dev/build, ?flush=1, and empty browser cache.

    Is there a link to info on how to get more info on the error?
    Cheers
    Roger

  • Willr
    Avatar
    Forum Moderator
    5462 Posts

    Re: UserForms 0.2 Link to this post

    Make sure you have renamed the folder you downloaded to 'userforms' (without any -r82392 or -trunk on the end)?. Then refresh the cms

  • turtleline
    Avatar
    Community Member
    6 Posts

    Re: UserForms 0.2 Link to this post

    Yes, the directory is 'userforms' and has been refreshed.
    Thanks.

  • turtleline
    Avatar
    Community Member
    6 Posts

    Re: UserForms 0.2 Link to this post

    The error was:
    82:
    missing ; before statement
    Fatal error: Call to undefined method EditableFormField::publish() in /userforms/code/editor/EditableMultipleOptionField.php on line 49
    I see it relates to WIP. I have successfully downloaded 0.2.0 again and got it running. Thanks for the help.

    25768 Views
Page: 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24
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.