17488 Posts in 4473 Topics by 1978 members
| Go to End | Next > | |
| Author | Topic: | 32463 Views |
-
massive error when user press enter in the cms

29 June 2008 at 10:53pm
if a user press enter in a field to save the form instead of using the save button silverstripe totally breaks. error as follows:
FATAL ERROR: No action button has been clicked in this form executon, and no default has been allowed
At line 213 in /Applications/MAMP/htdocs/patagonicas/sapphire/core/control/Controller.phpuser_error(No action button has been clicked in this form executon, and no default has been allowed,256)
line 213 of Controller.phpController->run(Array)
line 104 of Director.phpDirector::direct(admin/)
line 158 of main.phpis there a way to fix this or I need to put in the bugs section?
-
Re: massive error when user press enter in the cms

1 July 2008 at 11:39am
Where exactly is this error ocurring?
-
Re: massive error when user press enter in the cms

1 July 2008 at 11:45am
in every page generated in the cms. this error happens for example when you write the title of a new page and press enter (to publish the document) instead of tab (to go to the next field in the new page form)
-
Re: massive error when user press enter in the cms

1 July 2008 at 11:48am
So the error comes up on the CMS admin side? Or the frontend public side?
-
Re: massive error when user press enter in the cms

2 July 2008 at 12:54pm
But there are three submit buttons at the base of the admin. Noone ever said that pressing enter activates the "Save" one. Infact, I'm not sure what a browser's default behavior would be with multiple submit buttons on a form. But I imagine it would differ between FF and IE.
Is this functionality really all that critical? I don't think you can expect a user to assume that pressing enter Saves a page. At least I wouldn't. They might assume that it Saves and Publishes.
Aaron
-
Re: massive error when user press enter in the cms

3 July 2008 at 3:54am
but at least if you press enter, the ideal behaviour will be not put an horrendous error on it, maybe do nothing
-
Re: massive error when user press enter in the cms

3 July 2008 at 9:47am
Hmm, too true. Whether or not this is possible without creating even more confusing behavior is another thing. Perhaps submit it as a bug for the team to look into?
| 32463 Views | ||
| Go to Top | Next > |


