Skip to main content

This site requires you to update your browser. Your browsing experience maybe affected by not having the most up to date version.

All other Modules

Discuss all other Modules here.

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

UserForms uses a LOT of POST data


Reply

2 Posts   1028 Views

Avatar
quamsta

30 June 2010 at 5:35am Community Member, 29 Posts

Hi, I know there's been a [url=http://silverstripe.org/form-questions/show/262494]similar topic[/url] before, but nothing really came of it. We started hitting our server limit for number of POST variables allowed (200, I think) when we had a ~15 field form. I noticed that there are a lot of POST variables that are empty (when there aren't any conditions or rulesets for a field for instance).

Is there any way these can be trimmed down? We were able to ask our server admin to up our limit, but it was a little disconcerting and confusing when we initially tried saving the forms and we'd be stuck on "Saving..." with no error or response.

Otherwise, we love the module and use it in a lot of sites!

Avatar
Willr

30 June 2010 at 12:09pm Forum Moderator, 5511 Posts

The module has a bunch of setting files, each form field has like ~10 or so configuration options. I'm not sure there is anyway to get around this unless it saves the fields individually but then that 'breaks' the mould of the saving and publishing actions. If anyone has any ideas I would love to hear them :)