Forums

Chronoforms 4.0 RC3.3 uploading images

raboo 01 May, 2012
Hi,
I cannot find any documentation on how to get the uploading function to work. I have a form in Joomla 2.5 with the option to upload images. But no images are uploaded on submit although there is a Brwose button. And no attachment is sent with the email. I read the topics about it from earlier versions but they talk about fields I do not have in my version of Chronoforms 4.0 RC3.3, like setting the mime type, for instance.
The basic tutorial does not explain how to set this up and I find nothing esle on the subject.
Can you help with this?
Thanks!
raboo 01 May, 2012
This is the code of my current form. Am I missing something?

<div class="ccms_form_element cfdiv_header" id="autoID-35178eff89dbe220b5c52871357d3446_container_div"><p>We preferen dat je een bericht stuurt, maar als het dringend is dan kun je ons bereiken op 0475 786 445
<br />Bankrekeningnummer: BE85 6528 2347 3906</p>
<div class="clear"></div></div><div class="ccms_form_element cfdiv_select label_over" id="subject_container_div"><label for="Subject">Onderwerp</label><select size="1" id="Subject" class="" title="Onderwerp" name="subject">
<option value="Algemene vraag" selected="selected">Algemene vraag</option>
<option value="Adoptie">Adoptie</option>
<option value="Verloren">Verloren</option>
<option value="Gevonden">Gevonden</option>
</select>
<div title="Onderwerp" rel="Selecteer het onderwerp waarover u schrijven wilt." class="tooltipimg"><a href="#">?</a></div><div class="clear"></div><div id="error-message-subject"></div></div><div class="ccms_form_element cfdiv_text label_over" id="naam_container_div"><label for="naam">Naam</label><input id="naam" maxlength="100" size="30" class=" validate['required','alpha','nodigit']" title="Naam" type="text" value="" name="naam" />
<div title="Naam" rel="Voor- en achternaam" class="tooltipimg"><a href="#">?</a></div><div class="small-message">Voor- en achternaam</div><div class="clear"></div><div id="error-message-naam"></div></div><div class="ccms_form_element cfdiv_text label_over" id="email_container_div"><label for="email">Email</label><input id="email" maxlength="150" size="30" class=" validate['required','email']" title="" type="text" value="" name="email" />
<div title="Email" rel="Goed nakijken op typfouten, alstublieft." class="tooltipimg"><a href="#">?</a></div><div class="small-message">Goed nakijken op typfouten, alstublieft.</div><div class="clear"></div><div id="error-message-email"></div></div><div class="ccms_form_element cfdiv_text label_over" id="telefoon_container_div"><label for="telefoon">Telefoon</label><input id="telefoon" maxlength="15" size="20" class=" validate['alphanum','digit','number']" title="telefoon" type="text" value="" name="telefoon" />
<div title="Telefoon" rel="Bijv. 014/123 12 12 of 0498/12 12 12" class="tooltipimg"><a href="#">?</a></div><div class="clear"></div><div id="error-message-telefoon"></div></div><div class="ccms_form_element cfdiv_textarea label_over" id="autoID-2f4e2bf4376c36cd4e8536960dc8eee1_container_div"><label>Bericht</label><textarea cols="45" rows="12" class=" validate['required']" title="Bericht" name="bericht"></textarea>
<div class="clear"></div><div id="error-message-bericht"></div></div><div class="ccms_form_element cfdiv_file label_over" id="beelden_container_div"><label for="beelden">Beeld(en) toevoegen</label><input type="hidden" name="beelden" value="beelden" alt="ghost" />
<input id="beelden" class="" title="Beeld(en) toevoegen" type="file" name="beelden" />
<div title="Beeld(en) toevoegen" rel="Alleen beelden in jpg/gif/png/bmp" class="tooltipimg"><a href="#">?</a></div><div class="small-message">Alleen beelden in jpg/gif/png/bmp</div><div class="clear"></div><div id="error-message-beelden"></div></div><div class="ccms_form_element cfdiv_text" id="autoID-28e5f5340722a658754efd9491df775e_container_div"><label>Type de code (rechts v.h. veld)</label><input maxlength="5" size="5" class="chrono_captcha_input validate['required']" title="" type="text" value="" name="chrono_verification" />
{chronocaptcha_img}<div class="clear"></div><div id="error-message-chrono_verification"></div></div><div class="ccms_form_element cfdiv_submit" id="input_submit_5_container_div"><input name="input_submit_5" id="input_submit_5" class="" value="Versturen" type="submit" />
<div class="clear"></div><div id="error-message-input_submit_5"></div></div>
GreyHead 01 May, 2012
Hi raboo,

Do you have an Upload Files action in the On Submit event of your form?

Bob

[flash=640,360]http://www.youtube.com/v/pdgxL_28t18[/flash]
raboo 03 May, 2012
No, I did not, since the explanation is somewhat confusing. It looked as if this was a function to have visitors download files.
But thanks to your video, it works now. Thank you very much!
This topic is locked and no more replies can be posted.