Forums

Errors in form

brocars 03 Jul, 2009
Hi guys

Couple of problems with a form I have at:

http://www.ukfisherman.com/contact-us.html

1) Th file upload is not working. I have enabled the uploads and am using the following code:

file1:jpg|gif|png|doc|zip{100000-1},file2:jpg|gif|png|doc|zip{100000-1},file3:jpg|gif|png|doc|zip{100000-1},

When the form is submitted, I get the path to the file displayed but the image is not attached.

2. Also, the results from the "list "fields named help and links are not showing in the results.

hope you can help

Cheers

Paul
Max_admin 03 Jul, 2009
Hi Paul,

Please enable the debug at this form and show me the debug results!

Regards
Max
Max, ChronoForms developer
ChronoMyAdmin: Database administration within Joomla, no phpMyAdmin needed.
ChronoMails simplifies Joomla email: newsletters, logging, and custom templates.
GreyHead 05 Jul, 2009
Hi Paul,

Please try removing the comma from the end of the list.

Bob
brocars 06 Jul, 2009
Hi

don;t know what I've done but the missing info from the two drop downs is now showing.😀

Still got the problem of no images being attached though. Don't I need to set the form action and the ENCTYPE = "multipart/form-data"? Or does chrono forms handle all this automatically?

Anyway, debug info is:

Form passed first SPAM check OK
Form passed the submissions limit (if enabled) OK
Form passed the Image verification (if enabled) OK
Form passed the server side validation (if enabled) OK
Form passed the plugins step (if enabled) OK
Emails data loaded OK
Form passed all before email code evaluation OK
An email has been SENT successfully from (UK Fisherman)contact@ukfisherman.com to [email]contact@ukfisherman.com[/email]
Debug End
_POST: Array ( [name] => pj [email_from] => [email]paul@west5web.com[/email] [telephone] => [help] => compprize [comments] => hi [file1] => C:\Documents and Settings\brocars\My Documents\Web Design\Brofleet_new\images\fleet1.jpg [file2] => C:\Documents and Settings\brocars\My Documents\Web Design\Brofleet_new\images\fleet2.jpg [file3] => [links] => yes [subscribe] => yes [chrono_verification] => mgEGH [Submit] => Go for it ! [ae57150509c86278cb532b6d5e41af3f] => 1 )

Guess I should really try using the form wizard to see if this gets the fiel uploads to work.

cheers

Paul
GreyHead 06 Jul, 2009
Hi Paul,

Which version of ChronoForms is this? (The latest versions include the $_FILES array in the debug info.) Are you on Joomla 1.0.x?

If so you do need to add the enctype = "multipart/form-data" in the Form Tag Attachment box on the Genereal tab.

Bob
brocars 06 Jul, 2009
Hi Bob

I am using version 3.0 stable of chrono contact and am on version 1.5.12 of Joomla.

I do have the licensed version which you sent me a while back but haven;t got round to upgrading this yet. Would this make any difference?

cheers

Paul
GreyHead 06 Jul, 2009
Hi Paul,

The licensed version shouldn't make any difference here. Please add the enctype entry and test - I can't remembere if v3.0 Stable does it for you or not.

Bob
brocars 06 Jul, 2009
Hi Bob

sorry, there is no Form Tag Attachment box on the Generel tab, not one that I can see anyway.

cheers

Paul
GreyHead 06 Jul, 2009
Hi Paul,

This is where it shows up for me in 3.0 stable

Bob
brocars 06 Jul, 2009
Bob

thankyou so much. The images are now being uploaded fine

have a great week

Paul
This topic is locked and no more replies can be posted.