Support » Plugin: Contact Form 7 » Enter key problem

  • Resolved alice51

    (@alice51)


    Hello,
    
    On the form, how to deactivate the automatic sending of the message when the user presses the "enter" key on his keyboard? Currently this is a problem because messages are sent in multiple sentences. Only the "send" button should work for sending messages...
    
    In advance, thank you for your answer.

    The page I need help with: [log in to see the link]

Viewing 4 replies - 1 through 4 (of 4 total)
  • Plugin Author Takayuki Miyoshi

    (@takayukister)

    See Editing form template

    What content do you have in the Form tab panel?

    Thread Starter alice51

    (@alice51)

    Hello,

    “text – email – URL – tel – number – date – text area – drop-down menu – checkboxes – radio buttons – acceptance – quiz – file – submit”

    Here is the code for my form :

    <div class=”ts-resurvation-form contact-form”>
    <div class=”form-group”>
    [text your-name class:form-control placeholder "Nom"]
    </div>
    <div class=”form-group”>
    [text your-email class:form-control placeholder "Email"]
    </div>
    <div class=”form-group”>
    [text your-tel class:form-control placeholder "Téléphone"]
    </div>
    <div class=”form-group”>
    [text your-message class:form-control class:msg-box "Message"]
    </div>
    <div class=”form-group”>
    [submit class:btn class:btn-primary “Envoyer”]
    </div>
    </div>

    Plugin Author Takayuki Miyoshi

    (@takayukister)

    The [text] form-tag is for a single line input. I guess you intend multi-line input with the your-message field, so [textarea] should be used for the field.

    See Text fields

    Thread Starter alice51

    (@alice51)

    For “your-message” it’s ok. Thanks !!!

    • This reply was modified 1 month, 1 week ago by alice51.
Viewing 4 replies - 1 through 4 (of 4 total)
  • You must be logged in to reply to this topic.