| Previous topic :: Next topic |
| Author |
Message |
antonioortiz
Joined: 07 Feb 2007
Posts: 18
|
| Posted: Tue Nov 27, 2007 8:01 pm Post subject: Attach file with WebForms |
|
|
Hello
there are a way to attach files from webforms?
Thanks |
|
| Back to top |
|
nscottbrown
Joined: 16 Sep 2006
Posts: 96
Location: Richmond, VA
|
| Posted: Sun Apr 20, 2008 8:49 pm Post subject: Attach file with WebForms |
|
|
| Anybody have an answer to this? |
|
| Back to top |
|
lord_alan
Joined: 12 Sep 2006
Posts: 43
Location: United Kingdom
|
| Posted: Mon Apr 21, 2008 6:46 pm Post subject: Re: Attach file with WebForms |
|
|
I've been looking into the webform module for a little while now with a view to improving it's functionality.
I hadn't considered file upload and - to be honest with you - I wouldn't really think it is advisable. It is one of the best ways to attract hackers and get your host compromised.
My best-guesses as to the main use-cases for webforms really boils down to only a few potential activities:
* Gathering a new lead or contact's details
* Enabling your customers or leads to register for upcoming events etc
* Allowing customers to book appointments
* Allowing leads/contacts to opt out of something
I'd be interested in other ideas as to what you might use a webform for, but all of these would not require submission of unsolicited/unknown data or formats.
It is certainly possible to provide uploading of files, but I'm curious as to what it is you would be expecting to get uploaded and why?
Hope this helps a bit.
Oh yes, the current webform implementation won't, I believe, allow uploading of files.
Cheers
Al |
|
| Back to top |
|
nscottbrown
Joined: 16 Sep 2006
Posts: 96
Location: Richmond, VA
|
| Posted: Tue Apr 22, 2008 10:01 pm Post subject: Re: Attach file with WebForms |
|
|
I actually want to send a file to the email address that was supplied in webforms. The customer portal will allow for uploading of files, but that's not what I'm looking for.
In other words, the person will fill in all thier info and when they hit submit, the server will send out a particular file, maybe a .pdf document. |
|
| Back to top |
|
lord_alan
Joined: 12 Sep 2006
Posts: 43
Location: United Kingdom
|
| Posted: Wed Apr 23, 2008 6:13 am Post subject: Re: Attach file with WebForms |
|
|
nscottbrown wrote: I actually want to send a file to the email address that was supplied in webforms. The customer portal will allow for uploading of files, but that's not what I'm looking for.
In other words, the person will fill in all their info and when they hit submit, the server will send out a particular file, maybe a .pdf document.
Ahh. O.K. That's an interesting idea. A nice way to send out your company's brochure or something like that.
That would involve work mostly on the server end of the connection. Something I've been digging into but other commitments are slowing down my progress somewhat.
I guess then, you'd need to have an association between the webform you are using and the file you want to send, and probably some kind of "opt-in" button to allow the user to decide whether they want to have the file sent to them or not.
Nice idea. I'll add it to my list. It doesn't sound too hard to achieve ;-) Just a matter of finding time.
I'm trying to refactor the whole webform module so that there is only one server side form processor module, and on the client side, a more easy to use form-builder type application to allow the creator of the form to see what fields are available (dynamically) and so forth.
Might take me a while to get there so don't hold your breath! Perhaps some of the vtiger team could suggest a more immediate solution...
Cheers
Al |
|
| Back to top |
|
| |