1 Reply Latest reply on Jul 31, 2006 7:45 AM by Nickels55

    Submit Using Enter/Return KeyPress

    NickCherryJiggz
      The project on which I'm currently working has several forms (Product Selection, Shipping Information, Billing Information, and Surveys). To make these sections more user friendly, I would like to have a function called (to submit the form) whenever the customer presses the enter/return key. I looked into key listeners to solve this problem, but I'm having a difficult time following some of the steps, and this technique seems a bit excessive for all I need to do. Is there any actionscript that I could simply tack on to each one of my input texts that would detect enter/return key presses and call the submit function on such events? Since most of the forms don't have that many input text boxes, it wouldn't take long for me to copy and paste the code a few times. If anyone could help me out with this little problem, I would appreciate it. Thanks in advance.