Enter key disabled?

Ive been trying to get a search box working on Foxy templates but it does not submit on enter. After console logging key strokes I see the enter key is not recognized. Is it purposely disabled in foxy code?
Comments
  • fc_adamfc_adam FoxyCart Team
    @happycloud,

    We do block the enter key for certain fields - but I don't believe we have a blanket disabling of the enter key across the whole checkout. Would it be possible for you to let us know which store this is for so we can take a look?
  • it's gonegreen - I have a search box that is currently off but I would like it to work with enter. Note that I do build my own foxy from your individual files - perhaps its in there? Wanted to check with you before I dove in
  • Yup. I see it now in fc.checkout - ok, I think I can override that.
  • fc_adamfc_adam FoxyCart Team
    edited May 2016
    @happycloud,

    Ah sorry - we do indeed blanket disable it on the checkout, apart from textareas - so we can prevent premature/accidental submits of the checkout. Glad you found it.
Sign In or Register to comment.