zikula-modules / Formicula

A template-driven form mailer for Zikula

Home Page:https://ziku.la

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Missing enctype attribute in form 0_userform.html

nmpetkov opened this issue · comments

Attachments possibility is provided (commented by default), but if user uncomment attachment section, attaching files doesn't work.
This is because in form tag is missing proper enctype attribute.
This can correct cahnging line:

<form id="contactform2" class="z-form" action="{modurl modname=Formicula type=user func=send}" method="post">

to:

<form id="contactform2" class="z-form" action="{modurl modname=Formicula type=user func=send}" method="post" enctype="multipart/form-data">