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.

Form Questions /

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

Submitting form sometimes does a 302 redirect instead of posting


Go to End


914 Views

Avatar
Beedubsss

Community Member, 7 Posts

28 November 2016 at 6:19pm

Hi,

I am currently developing a user profile form with a set of 4 checkboxes in a checkboxsetfield. When selecting all 4 the form posts fine and removing the first 2 works fine. For some reason when I have the 3rd and 4th preselected, and decide to remove the 3rd the site does a 302 redirect when I refresh both 3rd and 4th are still selected. When I uncheck the 4th its the same issue. but if I uncheck both it submits fine. I've tried a various number of combinations with the checkboxes but its something too do with the 3rd and 4th checkbox which is performing a 302 redirect on submit. Has anyone else run into this issue before?