Hi, please give me an answer to my dilemma ...
185 Posts 28742 Views
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.
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,
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.
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?
Make sure you have renamed the folder you downloaded to 'userforms' (without any -r82392 or -trunk on the end)?. Then refresh the cms
Yes, the directory is 'userforms' and has been refreshed.
The error was:
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.