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're retiring the forums!

The SilverStripe forums have passed their heyday. They'll stick around, but will be read only. We'd encourage you to get involved in the community via the following channels instead:

Form Questions /

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

Form Submission goes to Form Action

Go to End

2 Posts   1582 Views


Community Member, 8 Posts

6 December 2009 at 12:29pm

Ran across a strange error when working on a page that allows a user to update an existing data object via a form. Upon clicking the "Update Event" (submit) button the "doUpdateEvent" function is not called, in fact the brower redirects to a blank page with the URL reflecting the Form action (/ss/edit-events/EditEventsForm). Any help is greatly appreciated. Code is attached :)

Attached Files

Forum Moderator, 5523 Posts

6 December 2009 at 2:27pm

Thats correct behavior the url reflects the form name. I think your action is not being submitted due to the form being inside the if statement. Since upon submission SS can't get a form object to call the action on.