Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Attached files not appearing in CMS nor email notifications #43

Closed
tbergeron opened this issue Mar 28, 2017 · 1 comment
Closed

Attached files not appearing in CMS nor email notifications #43

tbergeron opened this issue Mar 28, 2017 · 1 comment

Comments

@tbergeron
Copy link

tbergeron commented Mar 28, 2017

The files I send from the form are never attached to the emails nor the detail in the CMS itself.

Here's my config:
screen shot 2017-03-28 at 12 23 03 pm

Any idea? Do I need to enable anything else?

Here's my form code (overridden uploadFile):

<form data-request="{{ __SELF__ }}::onFormSubmit">

    {{ form_token() }}

    <div id="{{ __SELF__ }}_forms_flash"></div>

    <div class="form-group">
        <input type="text" id="name" name="name" class="form-control" placeholder="{{ 'contact.enter-name'|_ }}">
    </div>

    <div class="form-group">
        <input type="text" id="email" name="email" class="form-control" placeholder="{{ 'contact.enter-email'|_ }}">
    </div>

    <div class="form-group">
        <input type="text" id="subject" name="subject" class="form-control" placeholder="{{ 'contact.enter-subject'|_ }}">
    </div>

    <div class="form-group">
        <textarea class="form-control" value="" name="body" placeholder="{{ 'contact.enter-message'|_ }}" cols="30" rows="10"></textarea>
    </div>

    <button id="simpleContactSubmitButton" type="submit" class="btn btn-primary btn-lg pull-right">{{ 'contact.send'|_ }}</button>
    <div class="form-group">
        <h4>{{'Attach documents'|_}}</h4>
        {% partial '@file-upload' %}
    </div>
    <div class="form-group">
        {% partial '@recaptcha' %}
    </div>
</form>

file-upload isn't overridden though.

Any suggestions?

Thank you

@tbergeron
Copy link
Author

It was because of my form opening tag it seems.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant