10441 Posts in 2220 Topics by 1717 members
| Go to End | Next > | |
| Author | Topic: | 23120 Views |
-
Re: UserForms 0.2

16 October 2009 at 11:36pm
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.
-
Re: UserForms 0.2

17 October 2009 at 3:19am
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
-
Re: UserForms 0.2

17 October 2009 at 11:15am
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.
-
Re: UserForms 0.2

20 October 2009 at 1:14pm
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 -
Re: UserForms 0.2

20 October 2009 at 1:16pm
Make sure you have renamed the folder you downloaded to 'userforms' (without any -r82392 or -trunk on the end)?. Then refresh the cms
-
Re: UserForms 0.2

20 October 2009 at 1:23pm
Yes, the directory is 'userforms' and has been refreshed.
Thanks. -
Re: UserForms 0.2

20 October 2009 at 1:41pm Last edited: 20 October 2009 4:34pm
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.
| 23120 Views | ||
| Go to Top | Next > |




