• Resolved rlbeors

    (@rlbeors)


    Hello everyone. Guys help me figure it out.
    There is an example form:

    <span class="column-half" data-name="client-info"><input class="wpcf7-form-control wpcf7-text wpcf7-validates-as-required delivery-input" name="client-info" size="40" type="text" value="" placeholder="Name" aria-required="true" aria-invalid="false"  /></span>
    
    <span class="wpcf7-form-control-wrap" data-name="delivery-photo"><input class="wpcf7-form-control wpcf7-file booking-input" accept="audio/*,video/*,image/*" name="delivery-photo"  size="40" type="file" aria-invalid="false" /></span>

    what tag to use now in the body of the letter that would come to the mail?
    Thank you

Viewing 2 replies - 1 through 2 (of 2 total)
  • Thread Starter rlbeors

    (@rlbeors)

    Figured it out, it was necessary to wrap each tag in square brackets, example [client_info]

    But there is another problem:

    <span class="wpcf7-form-control-wrap" data-name="delivery-photo"><input class="wpcf7-form-control wpcf7-file booking-input" accept="audio/*,video/*,image/*" name="delivery-photo"  size="40" type="file" aria-invalid="false" /></span>

    specified the [delivery-photo] tag, but the uploaded photo does not come to the mail, instead of the photo, the [delivery-photo] tag itself comes to the mail
    how to fix?

    Thread Starter rlbeors

    (@rlbeors)

    if I replace this code with [file file-660] and specify [file-660] in the email settings, then the file comes to the mail.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Using an html form’ is closed to new replies.