Jump to content

Pressing Enter on custom field on configure product page


vpnzforum

Recommended Posts

Hello,

 

I've setup a custom field in the production configuration page asking the user to enter a username. When the user enters this information and clicks on "checkout" it works great and forwards to the cart page. But if the users decides to hit enter/return while still in the custom text box field they are forwarded to the cart page. Is it possible to forward to the shopping cart when enter/return is used in the custom field box.

 

Also I'm looking for a way to prevent duplicates in a custom field. I don't want it to be possible for users to be able to enter the same information (ex. username... If the username is already in use return an error).

 

Thank You.

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use & Guidelines and understand your posts will initially be pre-moderated