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.

We've moved the forum!

Please use forum.silverstripe.org for any new questions (announcement).
The forum archive will stick around, but will be read only.

You can also use our Slack channel or StackOverflow to ask for help.
Check out our community overview for more options to contribute.

All other Modules /

Discuss all other Modules here.

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

UserForms uses a LOT of POST data


Go to End


2 Posts   1790 Views

Avatar
quamsta

Community Member, 29 Posts

30 June 2010 at 5:35am

Hi, I know there's been a similar topic 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

Forum Moderator, 5523 Posts

30 June 2010 at 12:09pm

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 :)