Jump to:

10993 Posts in 2727 Topics by 1818 members

All other Modules

SilverStripe Forums » All other Modules » Customizing UserDefinedForm Submissions tab layout

Discuss all other Modules here.

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

Page: 1
Go to End
Author Topic: 960 Views
  • jdi
    Avatar
    Community Member
    34 Posts

    Customizing UserDefinedForm Submissions tab layout Link to this post

    Please point me in the right direction:

    I am looking to customize the way submissions are displayed in the Submissions tab of UserDefinedForms. I would like to be able to format it using a DataObjectManager or ComplexTableField.

    What I can't yet comprehend is how to construct either using dynamic values, aka when users build / modify their forms, the DataObjectManager or ComplexTableField columns will change to match the entries.

    Is this possible?

    Could someone start me off in the right direction? I don't need the exact script, just the general idea would be great.

  • Willr
    Avatar
    Forum Moderator
    5508 Posts

    Re: Customizing UserDefinedForm Submissions tab layout Link to this post

    I attempted to use a CTF for the submission display but ran into issues with displaying the columns. Because the complex table field can only be so wide and the number of form fields quite large you would have to dynamically pass an array of say the first 3 form fields as the summary fields rather than every field. The detailed fields function would then return all the form fields. You would of course also have to disable editing the form submissions.

    Would be interested to see if you get anything working since the submissions tab at the moment doesn't look the flashest.

  • jdi
    Avatar
    Community Member
    34 Posts

    Re: Customizing UserDefinedForm Submissions tab layout Link to this post

    Thanks for that.

    Considering what you've said I think I will approach the tab with a .css + .js or approach, and create a new list style.

    Can you please tell me how to create a set number of starting fields and lock them so people can add to them but not change them?

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