Jump to content


Form text input and multiple input buttons - help?

  • Please log in to reply
No replies to this topic

#1 mmosel

  • Members
  • PipPipPip
  • Advanced Member
  • 66 posts

Posted 07 March 2006 - 02:55 AM

Hi all,

I have a question for the pros. In my cart, each item has a checkbox for removal and an input box for changing the quantity. I have several buttons that are all submit buttons handled by JS. All the buttons work, that's not a problem. However, if a user changes the qty amount and hits return or enter, the remove button is used which is not what I want! I would like the update button to be used. I think it's defaulting to the remove button because it's first. Is there an easy way to change the focus of the qty input field so that an enter will automatically update and not attempt to remove?

Thanks for any tips you may have.

0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users