I’m designing a user preferences webpage and now I’ve placed two save buttons, one to save a new changed password, and other to save other kind of user preferences. My doubt is that I’m not sure if this is the more accessible and usable way to implement it.
I would hear opinions about what is the best option and why, because I haven’t found any clear direction about this issue in the web.
I’m designing a user preferences webpage and now I’ve placed two save buttons, one
Share
Ok so if you’ve got a form like so:
You need to run different code depending on which button was pressed you can use the following PHP code on the page your form submits to:
This should be more than enough to do what you’re after.