inherit
152167
0
Dec 2, 2012 14:01:58 GMT -8
dislikely
Most Recent Status
239
February 2010
iamquestionable
|
Post by dislikely on Jun 9, 2010 15:09:51 GMT -8
I want to make one of the things where you can an Attachment "choose a file thing" in a new thread posting form though. Anyone know how to make on of these?
|
|
inherit
17569
0
Aug 14, 2023 13:11:03 GMT -8
frufru
11,774
December 2003
frufru
|
Post by frufru on Jun 9, 2010 16:50:18 GMT -8
I want to make one of the things where you can an Attachment "choose a file thing" in a new thread posting form though. Anyone know how to make on of these? The basics is <input type="file"> www.cs.tut.fi/~jkorpela/forms/file.htmlYou're going to need some sort of server-side scripting (PHP, ASP, Perl, etc) in order to handle the file once submitted. The link above should be quite helpful on that. If you run into problems feel free to ask
|
|
inherit
152167
0
Dec 2, 2012 14:01:58 GMT -8
dislikely
Most Recent Status
239
February 2010
iamquestionable
|
Post by dislikely on Jun 9, 2010 17:48:19 GMT -8
Yes, one question. How do I put it in some array like this.
addSingleInput("Art Piece", "Choose the file of the piece you want to submit."); addSingleInput("Keywords", "Choose a maximum of 15 words that represent your piece the most."); addDropdown("Mature Filter", "Mark this piece as mature?", "Off|On"); addDropdown("Why", "Only select this if the mature filter is selected to be On. ", "____|Nudity|Sexual Themes|Violence/Gore|Strong Language|Ideologically Sensitive", "Other"); addTextarea("Credit", "Give some or all credit to someone else or yourself.", "4"); addTextarea("Artisan's Comments", "Say anything else you would like to say here.", "8");
is it something like addFileInput?
|
|
inherit
100824
0
May 13, 2012 5:37:49 GMT -8
Michael
14,585
March 2007
wrighty
|
Post by Michael on Jun 10, 2010 1:30:17 GMT -8
Yes, one question. How do I put it in some array like this. addSingleInput("Art Piece", "Choose the file of the piece you want to submit."); addSingleInput("Keywords", "Choose a maximum of 15 words that represent your piece the most."); addDropdown("Mature Filter", "Mark this piece as mature?", "Off|On"); addDropdown("Why", "Only select this if the mature filter is selected to be On. ", "____|Nudity|Sexual Themes|Violence/Gore|Strong Language|Ideologically Sensitive", "Other"); addTextarea("Credit", "Give some or all credit to someone else or yourself.", "4"); addTextarea("Artisan's Comments", "Say anything else you would like to say here.", "8"); is it something like addFileInput? No. That code doesn't handle fileInputs. So you wouldn't be able to as far as I know.
|
|
inherit
152167
0
Dec 2, 2012 14:01:58 GMT -8
dislikely
Most Recent Status
239
February 2010
iamquestionable
|
Post by dislikely on Jun 10, 2010 6:30:56 GMT -8
So I can't? There has to be some way. :/
|
|
inherit
152167
0
Dec 2, 2012 14:01:58 GMT -8
dislikely
Most Recent Status
239
February 2010
iamquestionable
|
Post by dislikely on Jun 10, 2010 12:56:19 GMT -8
Help?
|
|
inherit
17569
0
Aug 14, 2023 13:11:03 GMT -8
frufru
11,774
December 2003
frufru
|
Post by frufru on Jun 11, 2010 6:51:38 GMT -8
This is for cali's Posting Request Form/Template ?
It'll take quite a few modifications to the code to do this so you might want to head over to SoCal to see if it can be done. Note that you'll most likely still need your own web host that supports active content to handle the uploads.
|
|