File-upload through Formbuilder
File-upload through Formbuilder
I'm trying to set up a kind of market place using the Formbuilder and Formbrowser modules.
Visitors should be able to fill in a form on the item they want to sell or search for and also be able to include a picture of the item.
I installed Formbrowser 0.3 and Formbuilder 0.1 with CMSMS 1.0.8 on my local test machine running Xampp.
Now I'm trying to find out hoe the file-upload works. I included it in the form I designed for the purpose and it is nicely displayed.
Browsing for and selecting a file also works.
But after submission of the form I can't retrieve where the attached file is gone or saved and it's also not displayed when viewing the list through Formbrowser.
All the other information is nicely displayed except for the attached picture.
Any hint or advice would be appreciated.
Thanks
Dieter
Visitors should be able to fill in a form on the item they want to sell or search for and also be able to include a picture of the item.
I installed Formbrowser 0.3 and Formbuilder 0.1 with CMSMS 1.0.8 on my local test machine running Xampp.
Now I'm trying to find out hoe the file-upload works. I included it in the form I designed for the purpose and it is nicely displayed.
Browsing for and selecting a file also works.
But after submission of the form I can't retrieve where the attached file is gone or saved and it's also not displayed when viewing the list through Formbrowser.
All the other information is nicely displayed except for the attached picture.
Any hint or advice would be appreciated.
Thanks
Dieter
-
- Support Guru
- Posts: 8169
- Joined: Tue Oct 19, 2004 6:44 pm
- Location: Fernie British Columbia, Canada
Re: File-upload through Formbuilder
file uploads only get sent out as attachments when using an email disposition. the other implementations are not done yet.
Follow me on twitter
Please post system information from "Extensions >> System Information" (there is a bbcode option) on all posts asking for assistance.
--------------------
If you can't bother explaining your problem well, you shouldn't expect much in the way of assistance.
Please post system information from "Extensions >> System Information" (there is a bbcode option) on all posts asking for assistance.
--------------------
If you can't bother explaining your problem well, you shouldn't expect much in the way of assistance.
Re: File-upload through Formbuilder
Thanks Calguy,
think I have to wait for that option then and create the little "market place" without this possibilty.
Dieter
think I have to wait for that option then and create the little "market place" without this possibilty.
Dieter
Re: File-upload through Formbuilder
Clguy can you define an email-disposition - I'm having no end of trouble sending files via formbuilder I just get a variable not the file...
Rob
Rob
Re: File-upload through Formbuilder
I'm having exactly the same problem - in testing the form, I only get emailed a couple of letters like "m6_22", and not the actual file I submitted... any help is greatly appreciated!robsta wrote: Clguy can you define an email-disposition - I'm having no end of trouble sending files via formbuilder I just get a variable not the file...
Rob
Re: File-upload through Formbuilder
I'm having the same problem here. I'm new to CMSMS and any help would be of great help 

Re: File-upload through Formbuilder
I am having the same problem as well.
This is a perfect example of Ted's recent blog post regarding the user-submitted modules. CMSMS is just SO CLOSE to blowing away any competition but this 3rd party module quality is very frustrating - especially for a very commonly used module like a form builder.
I'll keep playing with this and post anything I find regarding the file upload.
This is a perfect example of Ted's recent blog post regarding the user-submitted modules. CMSMS is just SO CLOSE to blowing away any competition but this 3rd party module quality is very frustrating - especially for a very commonly used module like a form builder.
I'll keep playing with this and post anything I find regarding the file upload.
Re: File-upload through Formbuilder
I see there was an update and I updated to Formbuilder 0.4.1 and instead if gettiing the filenames now I get this for the image fields:
Image 1: [unspecified]
Image 2: [unspecified]
Image 1: [unspecified]
Image 2: [unspecified]
-
- Support Guru
- Posts: 8169
- Joined: Tue Oct 19, 2004 6:44 pm
- Location: Fernie British Columbia, Canada
Re: File-upload through Formbuilder
what do you mean by an 'image' field. I didn't think that there was an image field type in FB.
what does your form look like?
what does your form look like?
Follow me on twitter
Please post system information from "Extensions >> System Information" (there is a bbcode option) on all posts asking for assistance.
--------------------
If you can't bother explaining your problem well, you shouldn't expect much in the way of assistance.
Please post system information from "Extensions >> System Information" (there is a bbcode option) on all posts asking for assistance.
--------------------
If you can't bother explaining your problem well, you shouldn't expect much in the way of assistance.
Re: File-upload through Formbuilder
Thanks for the response:
Field Name: Image 1
Field Type: File Upload
Req'd : False
Infrormation: Max. Size: kb, Extensions:
Field Name: Image 2
Field Type: File Upload
Req'd : False
Infrormation: Max. Size: 2500kb, Extensions: jpg,gif,jpeg,GIF,JPEG,JPG,bmp,BMP
$fld_22 and $fld_23 are now being passed as unspecified.
Submission template:
FormBuilder Submission
Form Name: {$sub_form_name}
Date of Submission: {$sub_date}
Your server: {$sub_host}
IP address of person using form: {$sub_source_ip}
URL of page containing form: {$sub_url}
Full Name: {$fld_18}
Email Address: {$fld_19}
Image 1: {$fld_22}
Image 2: {$fld_23}
Describe Your Boat: {$fld_20}
Send it: {$fld_21}
Field Name: Image 1
Field Type: File Upload
Req'd : False
Infrormation: Max. Size: kb, Extensions:
Field Name: Image 2
Field Type: File Upload
Req'd : False
Infrormation: Max. Size: 2500kb, Extensions: jpg,gif,jpeg,GIF,JPEG,JPG,bmp,BMP
$fld_22 and $fld_23 are now being passed as unspecified.
Submission template:
FormBuilder Submission
Form Name: {$sub_form_name}
Date of Submission: {$sub_date}
Your server: {$sub_host}
IP address of person using form: {$sub_source_ip}
URL of page containing form: {$sub_url}
Full Name: {$fld_18}
Email Address: {$fld_19}
Image 1: {$fld_22}
Image 2: {$fld_23}
Describe Your Boat: {$fld_20}
Send it: {$fld_21}
-
- Support Guru
- Posts: 8169
- Joined: Tue Oct 19, 2004 6:44 pm
- Location: Fernie British Columbia, Canada
Re: File-upload through Formbuilder
I'll look into it tonite
Follow me on twitter
Please post system information from "Extensions >> System Information" (there is a bbcode option) on all posts asking for assistance.
--------------------
If you can't bother explaining your problem well, you shouldn't expect much in the way of assistance.
Please post system information from "Extensions >> System Information" (there is a bbcode option) on all posts asking for assistance.
--------------------
If you can't bother explaining your problem well, you shouldn't expect much in the way of assistance.
Re: File-upload through Formbuilder
True, but you don't forget that this module is very complicated.milehigh wrote: This is a perfect example of Ted's recent blog post regarding the user-submitted modules. CMSMS is just SO CLOSE to blowing away any competition but this 3rd party module quality is very frustrating - especially for a very commonly used module like a form builder.
Alby
Re: File-upload through Formbuilder
I completely agree!! All other aspects seem to be working perfectly.alby wrote: True, but you don't forget that this module is very complicated.
Alby
I reinstalled an older version and got
Image: m2_8 instead of Image: [unspecified] output to the email but it still wouldn't attach the image (jpg)
If anybody posts anything you'd like to see tried I'm more than happy to help. I appreciate the responses.
-
- Support Guru
- Posts: 8169
- Joined: Tue Oct 19, 2004 6:44 pm
- Location: Fernie British Columbia, Canada
Re: File-upload through Formbuilder
Okay, it got broke (for sure) in the 0.4 process somewhere. I just checked in the fixes to svn. A new version of formbuilder should be out soon.
By the way, the code for file handling is in the base class for the email based dispositions, but I've only tested with the 'Send Email To Specified addresses' disposition.
By the way, the code for file handling is in the base class for the email based dispositions, but I've only tested with the 'Send Email To Specified addresses' disposition.
Follow me on twitter
Please post system information from "Extensions >> System Information" (there is a bbcode option) on all posts asking for assistance.
--------------------
If you can't bother explaining your problem well, you shouldn't expect much in the way of assistance.
Please post system information from "Extensions >> System Information" (there is a bbcode option) on all posts asking for assistance.
--------------------
If you can't bother explaining your problem well, you shouldn't expect much in the way of assistance.
Re: File-upload through Formbuilder
UPDATE: I tried the new DispositionEmailBase.class.php from svn and it still doesn't send with attachment.
UPDATE: I missed FileUploadField.class.php in svn. It works when both of these files are updated to svn. Sorry.
UPDATE: I missed FileUploadField.class.php in svn. It works when both of these files are updated to svn. Sorry.
Last edited by moorezilla on Mon Aug 27, 2007 9:23 pm, edited 1 time in total.