close ad
Install the LAtest Updates to Work with CC 2017 and CC 2018
open ad
View Menu

Technical Support Forums

Free, outstanding support from WebAssist and your colleagues

rating

use "enter" to move between form fields

Thread began 4/23/2010 3:12 pm by sandyrumsey378810 | Last modified 4/26/2010 9:34 am by Jason Byrnes | 1325 views | 2 replies |

sandyrumsey378810

use "enter" to move between form fields

I am trying to get a checkout page set to use a card swipe machine for use at a seminar. The form fields populate from the onSwipe javascript ... the focus text box accepts the swiped info and populates the fields using the "enter" key to move from one text box to another.

My problem ... the enter key causes the entire form to post and go on to the next page. How do I change the form so that the form will not execute until the "checkout" button is pushed. I currently have the trigger for the checkout process set to only activate when the button is pushed, but it still activates when enter is pressed. Hmmm...

I have attached the code. THANKS! I can't find the "how to" for this in any online help section.

Attached Files
swipe.txt
Sign in to reply to this post

sandy259886

Please help! Need answer!

I reallyneed an answer to this question.

Sign in to reply to this post

Jason ByrnesWebAssist

you need to use javascript to change the action of the enter key to emulate the tab key.

a sample script can be found here:
tab-key-emulation.html

Sign in to reply to this post

Build websites with a little help from your friends

Your friends over here at WebAssist! These Dreamweaver extensions will assist you in building unlimited, custom websites.

Build websites from already-built web applications

These out-of-the-box solutions provide you proven, tested applications that can be up and running now.  Build a store, a gallery, or a web-based email solution.

Want your website pre-built and hosted?

Close Windowclose

Rate your experience or provide feedback on this page

Account or customer service questions?
Please user our contact form.

Need technical support?
Please visit support to ask a question

Content

rating

Layout

rating

Ease of use

rating

security code refresh image

We do not respond to comments submitted from this page directly, but we do read and analyze any feedback and will use it to help make your experience better in the future.

Close Windowclose

We were unable to retrieve the attached file

Close Windowclose

Attach and remove files

add attachmentAdd attachment
Close Windowclose

Enter the URL you would like to link to in your post

Close Windowclose

This is how you use right click RTF editing

Enable right click RTF editing option allows you to add html markup into your tutorial such as images, bulleted lists, files and more...

-- click to close --

Uploading file...