Skip to main content

Hello community, I have a pardot form hosted on a website, we have several fields, and the last one is a "comment"  field where the person can give us more information. We have notived that if they start typing a comment, then press enter it submits the form, we end up having the comment being uncomplete, with for exemple "Hello, "   it there a way to tell the form that "enter" is not the same thing as clicking the submit button ? Many thanks for your help 

5 answers
  1. Tom Bassett (Vera Solutions) Forum Ambassador
    Sep 6, 2021, 8:21 PM

    Hello,

     

    There are a few options for this;

     

    (1) Introduce RECAPTA into the Form which would mean even if the Enter Button is pressed the form can't be submitted until the RECAPTA is completed

     

    (2) Explore the option of Custom Javascript in your form to disable to the Enter Shortcut

     

    https://stackoverflow.com/questions/11235622/jquery-disable-form-submit-on-enter

    https://www.hashbangcode.com/article/prevent-enter-key-submitting-forms-jquery

     

    Thanks, Tom

0/9000