mpsn Posted June 1, 2011 Share Posted June 1, 2011 Hi, I want to make a checkbox that will store the value as the user's database table ID and when the records are checked, I will have a delete, update link to delete/update those records that have their checkbox checked. I know I would need two submit buttons (one for delete and one for update), but the form tag only takes one action attribute, right? So does anyone know what I should do??? Le me know, thx Quote Link to comment https://forums.phpfreaks.com/topic/238137-multiple-action-attribures-for-form-tag-is-possible-or-not/ Share on other sites More sharing options...
Pikachu2000 Posted June 1, 2011 Share Posted June 1, 2011 If you're going to use two submit buttons, why would you need more than one action= attribute? Just process the data based on which button was used to submit the form. Quote Link to comment https://forums.phpfreaks.com/topic/238137-multiple-action-attribures-for-form-tag-is-possible-or-not/#findComment-1223689 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.