Delete button on edit view
- Single Page
Posted 10 July 2012 - 12:47 PM
I've been thinking that it would be nice to have a delete button on edit view that would work just like the cancel button (with confirm prompt) but it would delete the record instead and return to the list.
Am I the only one that thinks this is usefull?
I might work on a "plugin" to do just that, but I wanted to hear your opinions and know if there is a chance of web-johnny adding this feature in a future release.
Posted 11 July 2012 - 09:16 AM
And the other thing that for now in the edit page we already have 3 buttons(!). I hear from some users that they was a little bit confused, when was editing something for the first time. It seems to me that the 4-th button can confuse someone even more.
Whatever, it's just my opinion
Posted 11 July 2012 - 13:58 PM
One thing I like about having the delete button inside the edit view is that the user is absolutely sure of the record he's deleting, where the delete from the list you can sometimes click on the wrong column,
Any how I believe it's a nice feature to have and perhaps have it enabled/disabled and we could have the same enable/disable options for the cancel and save/update and return to list buttons.
Another thing is that the delete button could be say left aligned and RED or something else that would set it apart from the rest.
Posted 11 July 2012 - 16:02 PM
And as for the red colored button aligned from the rest it is a good idea. This is a simple visual way to differentiate the functionality. I think it would be great for now if we have "cancel" button colored in something I say this because as I have notice users (especially at the first time) don't know and don't understand how everithing works, what dealing with something else. For them it's easy to perceive the functionallity of buttons in colors. All of us perfectly understand that the green button is ... orange button is ... and red one is deleting.
Posted 11 July 2012 - 17:10 PM
Posted 11 July 2012 - 20:28 PM
Posted 12 July 2012 - 06:45 AM
I always had problems with customers that press the ok button of the delete and then said "I didn't realize that I will delete my record".
I want also to see if other users have the same request.
Posted 12 July 2012 - 16:13 PM
About prompt and confimation. It's just my opinion based on watchig how users add and edit data. Maybe it's just mentality differences, I don't know. But I have noticed that users never click on "Go back to list" button, and if they click that happens only because of the button is exist there and they see it. So, as for me, if "Go back to list" button will disappear, nothing will change. Also it seems to me that "Go back..." button duplicates the behavior of "Cancel" button. And if I have to choose between that two buttons I will choose "Cancel" button. I think "Go back..." not so usefull also becouse of we every moment can click to other links (in the grocery CRUD examples: Offices, Employees or something else) and we will go there without any confirmation. Well...
Posted 13 July 2012 - 00:13 AM
And I also notice that it is time to get rid of the default buttons and add some fancy new twitter bootstrap buttons at flexigrid theme . What do you think?
[b]EDIT: [/b]I had a second thought and I will not add the delete button to the edit as it is not straight away of what this button is there for. In addition I don't want to duplicate functionality without any reason. I want to do it as simple as I can. Even the 3rd button as [member='noskov.biz'] mentioned is too much but I really had a big thought that both three buttons are really needed to be there. However for those who disagree they can always use the unset_back_to_list(); like this:
and the button save and go back to list will simply disappear .
Posted 13 July 2012 - 07:10 AM
I find "Save & go back..." button is needed for users, they use this button instead of "Go back to list" (maybe because of its position at the controlls buttons). That's why I have never turned it off with:
I think it's beter have 2 buttons with the similar functionallity rather have no one Well, it's just my "philosophizing".
By the way I have made an example of beautifull buttons design Look at the screenshot:
As for Bootstrap buttons. Yes, I agree with you and have both hands for that.
Posted 13 July 2012 - 13:12 PM
The update and go back to list is very usefull in my opinion and it's not the same as the back to list.
I thought about something like the beautiful design of noskov , but with a delete button on the right corner. Maybe a delete button gmail-like.
I believe that even if the delete button was at the top next to the back to list button it would still be a usefull feature. All oldtime gmail users will remember that early on Gmail did not have a delete button and it was one of the most requested features until they finally agreed on having one.
I understand all your concerns, but perhaps as I mentioned to put the button at the top next to back to list link that would ensure only users that knew that this is really the delete button would use the functionality and we wouldn't have to worry about the quantity of buttons at the bottom or a user deleting by mistake.
Just a suggestion
Posted 08 January 2014 - 13:54 PM
Thanks for the Grocery Crud, is very usefull.
My doubt is how I fix the problem of the prompt messege.
I try the getState == 'delete' but I dont give sucess!
Sorry my english! :blink: