Jump to:

11004 Posts in 2735 Topics by 1824 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: 27557 Views
  • margotta
    Avatar
    Community Member
    1 Post

    Re: UserForms 0.2 Link to this post

    same problem of drye and paschka

    when i try to add a field and then push 'add' buttom
    browser try to load 'www.mysite.com/admin/EditForm'

    but the page is empty!!!!

    please help me...

    (sorry for my awful english...)

  • amir99
    Avatar
    Community Member
    5 Posts

    Re: UserForms 0.2 Link to this post

    I have installed the module from trunk, and after some initial testing it seems to work fine, so far.
    My problem is this: I have defined 2 page types extending UserDefinedForm (each page type extends UserDefinedForm and UserDefinedForm_Controller).
    But in the dropdown list in the CMS containing the page types, I see both of them with the same label - 'User defined form' instead of the actual page name I gave them.

    It still works, but not very convenient as I have to guess which is which, and of course if I will have more pages extending UserDefinedForm it will become unusable.

  • Aram
    Avatar
    Community Member
    598 Posts

    Re: UserForms 0.2 Link to this post

    This is most likely because there is an $add_action defined in the userforms class.

    To get around the naming issue define a new static to your page model:

    static $add_action="Your Page Name";

    This will then replace the name in the dropdown list.

    Hope that helps

    Aram

  • amir99
    Avatar
    Community Member
    5 Posts

    Re: UserForms 0.2 Link to this post

    Thanks very much aram.
    It did the trick!

  • skc
    Avatar
    Community Member
    9 Posts

    Re: UserForms 0.2 Link to this post

    I can't get the user defined form to e-mail submissions...they show up in the "submitted" tab in the CMS but no e-mail is generated. Any clues on what I can do to remedy this?

  • kateh
    Avatar
    Community Member
    18 Posts

    Re: UserForms 0.2 Link to this post

    As reported by Kateh, translated forms are not working when upgrading: no fields can be added and no email recipients (error: I can't handle sub-URLs of a CMSMain object).

    Nevertheless, you can create a new translation of the form and adding fields should work, the problem is you can't see them in the published page.

    SOLUTION: Changing by hand the ParentID of the fields in the EditableFormField table. I'm sure willr will correct the faulty code in a blink!

    Sorry I'm responding so late. But what do you mean by change the ParentID Juanitou? Does it have something to do with the missing pages and errors creating fields for my secondary language?

    http://www.lasergraph.fr/admin/EditForm/field/Reports/deletesubmission/?id=1

    I get a page not found when I try to delete an old submission for example...
    I get an error creating a field when I try to add a field...
    Page not found for trying to add email recipient info...

    I'm really stuck with this secondary language not reacting to the latest userforms 0.2. I have installed and reinstalled the latest mollom, spamprotection, userforms and Silver Stripe 2.3.2 and it still doesn't work.

    Creating a new user defined form page creates the same results.

    And the only way to see the submitted forms in English is to see the submissions, but I can only see the first 10 and there are 16. Since I can't access the next page I'm creating problems for my client.

    Can anyone help please?
    Kate

  • Big Bang Creative
    Avatar
    Community Member
    92 Posts

    Re: UserForms 0.2 Link to this post

    @Juanitou re. change html for fields

    I actually meant the html generated for the frontend, not the email template.

  • kateh
    Avatar
    Community Member
    18 Posts

    Re: UserForms 0.2 Link to this post

    And where do I find this html page and what ID do I need to change?

    I did make a translation of the working French form and adding the fields in the translated English copy did work at first. Then form fields and email recipient info just disappeared when I went to another page, even after saving and publishing the new form page.

    Is this an actual bug that I should ticket? Or should I just keep reinstalling all the modules over and over again?

    27557 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.