Viewing 6 replies - 1 through 6 (of 6 total)
  • CF7 allows you to use any HTML5 input element of your choice.

    In the form element, give it a name attribute which you would use in the mail section to display the users input.

    example: <select name="menu-587"> </select>

    your mail section tag would be [menu-587]??????

    Thread Starter Kreeger

    (@kreeger)

    Oh! Very good news!

    Thanks you!

    If this resolves your question, it helps others contributing here, if you can flag your post as [resolved]

    Thread Starter Kreeger

    (@kreeger)

    Hi,

    There is a problem if we use <input type=”text” …>

    The value of the fields are not checked, so the user can submit a empty form…

    How can I fix this?

    The value of the fields are not checked, so the user can submit a empty form…

    I am not very clear with what you mean by that. However if your set up is done correctly, emails received will contain ONLY answers to the fields that were filled by the user.

    Thread Starter Kreeger

    (@kreeger)

    Yep, but if I want that an input is required using <input> and not [text*] (and without “required” html5 attribut), how do I do ? Is it possible?

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘Are shortcodes (like [text]) mandatory?’ is closed to new replies.