Using the submitcontent and upload 2 files?

Rikoos 29 Jan, 2009
Hi,

this is my first try on this forum since i'm using chronoforms for 3 days now😉 I was looking for a easy and simple way to let user submit content and i found thru some other forums this form made in Chronoforms.
So far so good and this was 100% wat i was looking for🙂 i purchased the license also today for chronoforms🙂 I really looks great!

Only one thing i don't get.

how do i let this form also upload 2 pics (flyers) to go with this form?

I have found the tab "File uploads" and here i'm able to set upload to enable and enter the Field names & allowed Extensions & sizes for each file. i have entered the following:

file_1:jpg|gif|png{222222-1},file_3:jpg|gif|png{222222-1},file_2:jpg|gif|png{222222-1},file_3:jpg|gif|png{222222-1}


But still no upload allowed (no fields are shown for this).

Could you explain what i am doing wrong?

Best Regards
Rick
Rikoos 30 Jan, 2009
Sorry for bumping this topic, but is there a special category for licensed chronoform user?

I'm in need for some urgent help on this issue.

Thnx
Rick
GreyHead 30 Jan, 2009
Hi Rikoos,

Max has talked about it but at the moment there is no special forum for licensed users.

I'll take a look when I can but I'm not that familiar with the Profile PlugIn so can't answer 'off the top of my head'.

Bob
Rikoos 30 Jan, 2009
Hi Bob,

thank you for the reply🙂 but i don't understand what you mean with the Profile PlugIn?
I was talking about the downloaded sample form submitcontent which allows you to add content to the website, the tab supplied for uploading isn't working but i think i'm (like always) on the wrong track.😉

Thank you

Cheers
Rick
GreyHead 30 Jan, 2009
Hi Rick,

Apoloies, I used the wrong term - same answer applies to the Content Form though.

Bob
Rikoos 31 Jan, 2009
okay🙂

i will wait for your answer.

Thnx
Rick
Max_admin 01 Feb, 2009
Hi Rick,

actually your config should work but you have a duplicate data for the file_3 so remove the last one please ?

after this if it doesn't work then did you add the enctype to the form tag attachment field of the form ?

did you enable the uploads in the "file uploads" tab ?

Regards
Max
Max, ChronoForms developer
ChronoMyAdmin: Database administration within Joomla, no phpMyAdmin needed.
ChronoMails simplifies Joomla email: newsletters, logging, and custom templates.
Rikoos 02 Feb, 2009
Hi Max,

thnx for the help, i removed the file_3 from the field and it looks like this now:

file_1:jpg|gif|png{222222-1},file_2:jpg|gif|png{222222-1},file_3:jpg|gif|png{222222-1}


Also upload is enabled in the form (set to yes) but i don't get the add the enctype to the form tag attachment field? What do i have to do?

Cheers
Rick

PS
The other 2 things changed didn't help making it work😉
Max_admin 02 Feb, 2009
Hi Rick,

please add this code to the Form tag Attachment field in the General tab:
enctype="multipart/form-data"


Regards
Max
Max, ChronoForms developer
ChronoMyAdmin: Database administration within Joomla, no phpMyAdmin needed.
ChronoMails simplifies Joomla email: newsletters, logging, and custom templates.
Rikoos 03 Feb, 2009
:(😟😟

No nothing😟 i haven't changed anything accept for text in this form. It is still the default submitcontent form as provided in the download section.

This is the code used in the form: (HTML code)

<div  class="form_item"><div class="form_element cf_heading"><h1 id="" class="cf_text">Heb je nieuws? Geef het door aan ons!</h1></div></div><div  class="form_item">
  <div class="form_element cf_text"><span class="cf_text">Via dit formulier is het mogelijk om berichten op Dancevenue.nl te laten plaatsen</span>. Na een beoordeling zal het bericht in de juiste sectie bij geplaatst worden.</div>
</div><div  class="form_item"><div class="form_element cf_heading">
  <h3 id="" class="cf_text">Berichten welke niet aan onze de door opgestelde eisen voldoen worden niet geplaatst. Deze voorwaarden zijn te vinden in de FAQ sectie van het hoofdmenu.</h3>
</div><div class="clear"> </div></div><div  class="form_item"><div class="form_element cf_textbox">
  <label class="cf_label">Onderwerp :</label>
  <input class="cf_inputbox required" maxlength="150" size="30" id="text_5" name="title" type="text"><a onclick="return false;" class="tooltiplink"><img  src="components/com_chronocontact/css/images/tooltip.png" class="tooltipimg" width="16" border="0" height="16"></a><div  class="tooltipdiv">Title: :: Your story title please!</div></div><div class="clear"> </div></div><div  class="form_item"><div class="form_element cf_textarea" style="width:600px;">
  <label class="cf_label">Text body:</label>

<?php
$editor		=& JFactory::getEditor();
echo $editor->display( 'fulltext',  '' , '80%', '350', '55', '20', false ) ;
?>

</div><div class="clear"> </div></div><div  class="form_item"><div class="form_element cf_textbox"><label class="cf_label">Naam:</label><input class="cf_inputbox required validate-alpha" maxlength="15" size="30" id="text_7" name="created_by_alias" type="text"><a onclick="return false;" class="tooltiplink"><img  src="components/com_chronocontact/css/images/tooltip.png" class="tooltipimg" width="16" border="0" height="16"></a><div  class="tooltipdiv">Naam: :: De naam welke je op de website wilt laten zien!</div></div><div class="clear"> </div></div><div  class="form_item"><div class="form_element cf_captcha"><label class="cf_label">Tik code precies na</label><span>{imageverification}</span></div><div class="clear"> </div></div><div  class="form_item"><div class="form_element cf_button"><input value="Submit Story" name="undefined" type="submit"></div><div class="clear"> </div></div>


Still no upload possible😟

HELP !!!😉

Thnx
Rick
Max_admin 03 Feb, 2009
Hi Rick,

you didn't add file fields to your form!!!!! of course it will not upload!!

here is an example of a file field code:

<input type="file" name="file_1">


Cheers
Max
Max, ChronoForms developer
ChronoMyAdmin: Database administration within Joomla, no phpMyAdmin needed.
ChronoMails simplifies Joomla email: newsletters, logging, and custom templates.
Rikoos 04 Feb, 2009
oeps 😶

i totally oversaw this !!!

thnx 😶 😶 😶 😶
Max_admin 04 Feb, 2009
No problems!!!! glad I could help!🙂 :wink:

Regards,
Max
Max, ChronoForms developer
ChronoMyAdmin: Database administration within Joomla, no phpMyAdmin needed.
ChronoMails simplifies Joomla email: newsletters, logging, and custom templates.
This topic is locked and no more replies can be posted.