![]() |
|
| |||||||
| Notices |
| Forms Discussion and help related to designing and implementing forms in the BlueVoda Website Builder. |
![]() |
| | LinkBack | Thread Tools |
|
#1
| |||
| |||
|
Hi all, Thank you for your time first of all. I need help making this form work: http://secure.getcanvased.co.nz/order/ The problem is this: I used to use Blue Voda to make my pages, now I use Dreamweaver. I used to be able to have someone upload an image but now the image location in the computer is all that comes up. I am unsure how to fix this. If you would like the page code, I can provide any of it or even the whole file. Thank you for your time. www.dwat.co.nz www.dwat-worldwide.com www.getcanvased.co.nz my sites which are still not very good :( my bad! Go Vodahost!!! |
|
#2
| ||||
| ||||
|
We need the order.php script code, as this is the one processing your form info. Also, has your scripts instructions to set the encoding type in "application/x-www-form-urlencoded" ?
__________________ Navaldesign Logger Lite: Low Cost, Customizable, multifeatured Login script Instant Download Cart: a Powerfull, Customized, in site, DB driven, e-products Cart DBTechnosystems.com Forms, Databases, Shopping Carts, Instant Download Carts, Loggin Systems and more.... Advanced BlueVoda Form Processor : No coding form processor! Just install and use! Now with built in CAPTCHA! |
|
#3
| |||
| |||
|
Hi, thanks for the reply. I have now changed it back to 'application/x-www-form-urlencoded' as I had changed this between attempts to get it working. The code in the page itself is: <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" /> <title>Get Canvased Secure Order Form</title> <style type="text/css"> <!-- .style4 { font-size: 12px; font-style: italic; } body,td,th { color: #FFFFFF; } body { background-color: #000000; } --> </style> </head> <body> <h1 align="center">Get Canvased Order Page</h1> <p align="center">Please fill in all possible fields to make your order more user friendly and manageable for the staff.</p> <form action="http://secure.getcanvased.co.nz/order/order.php" method="POST" enctype="application/x-www-form-urlencoded" name="Get Canvased Online order form" id="Get Canvased Online order form"> <label>Name: <input name="Name" type="text" id="Name" title="Name" /> </label> <p> <label>Address: <input name="Address" type="text" id="Address" title="Address" /> </label> </p> <p> <label>Town: <input name="Town" type="text" id="Town" title="Town" /> </label> </p> <p> <label>Area Code: <input name="Area Code" type="text" id="Area Code" title="Area Code" /> </label> </p> <table width="1116" border="1" cellspacing="0" cellpadding="0"> <tr> <th width="235" scope="col">Upload Image </th> <th width="279" scope="col">Description</th> <th width="179" scope="col">Size</th> <th width="192" scope="col">Quantity</th> <th width="219" scope="col">Filter</th> </tr> <tr> <td><label> <div align="justify">1. <input name="Image Upload 1." type="file" id="Image Upload One." title="Image Upload 1." /> </div> </label></td> <td><label> <div align="center">Please fill in... <textarea name="Description 1." cols="" rows="" id="Description 1." title="Description 1." dir="ltr" label="Description 1."></textarea> </div> </label></td> <td><label> <div align="center">Please Select <select name="Size 1." id="Size 1." title="Size 1."> <option>8 x 10</option> <option>8 x 12</option> <option>12 x 16</option> <option>16 x 20</option> <option>13 x 33</option> <option>16 x 24</option> <option>33 x 33</option> </select> </div> </label></td> <td><div align="justify"> <label>Please Select: <select name="Quantity 1" id="Quantity 1" title="Quantity 1"> <option value="0" selected="selected">0</option> <option value="1">1</option> <option value="2">2</option> <option value="3">3</option> <option value="4">4</option> <option value="5">5</option> <option value="6">6</option> <option value="7">7</option> <option value="8">8</option> <option value="9">9</option> </select> </label> </div></td> <td><div align="justify"> <label> <select name="Filter 1" id="Filter 1" title="Filter 1"> <option value="Black and White">Black and White</option> <option value="Colour">Colour</option> </select> </label> </div></td> </tr> <tr> <td><label> <div align="justify">2. <input name="Image Upload 2" type="file" id="Image Upload 2." title="Image Upload 2." /> </div> </label></td> <td><label> <div align="center">Please fill in... <textarea name="Description 2." cols="" rows="" id="Description 1." title="Description 1." dir="ltr" label="Description 1."></textarea> </div> </label></td> <td><div align="center">Please Select <select name="Size 2." id="Size 2." title="Size 2."> <option>8 x 10</option> <option>8 x 12</option> <option>12 x 16</option> <option>16 x 20</option> <option>13 x 33</option> <option>16 x 24</option> <option>33 x 33</option> </select> </div></td> <td><div align="justify"> <label>Please Select: <select name="quantity 2" id="quantity 2" title="quantity 2"> <option value="0" selected="selected">0</option> <option value="1">1</option> <option value="2">2</option> <option value="3">3</option> <option value="4">4</option> <option value="5">5</option> <option value="6">6</option> <option value="7">7</option> <option value="8">8</option> <option value="9">9</option> </select> </label> </div></td> <td><div align="justify"> <select name="Filter 2" id="Filter 2" title="Filter 2"> <option value="Black and White">Black and White</option> <option value="Colour">Colour</option> </select> </div></td> </tr> <tr> <td><label> <div align="justify">3. <input name="Image Upload 3" type="file" id="Image Upload 3." title="Image Upload 3." /> </div> </label></td> <td><label> <div align="center">Please fill in... <textarea name="Description 3." cols="" rows="" id="Description 3." title="Description 3." dir="ltr" label="Description 3."></textarea> </div> </label></td> <td><div align="center"> <div align="center">Please Select <select name="Size 3." size="1" id="Size 3." title="Size 3."> <option>8 x 10</option> <option>8 x 12</option> <option>12 x 16</option> <option>16 x 20</option> <option>13 x 33</option> <option>16 x 24</option> <option>33 x 33</option> </select> </div> </div></td> <td><div align="justify" id="Quantity 3" title="Quantity 3"> <label>Please Select: <select name="Quantity 3" size="1"> <option value="0" selected="selected">0</option> <option value="1">1</option> <option value="2">2</option> <option value="3">3</option> <option value="4">4</option> <option value="5">5</option> <option value="6">6</option> <option value="7">7</option> <option value="8">8</option> <option value="9">9</option> </select> </label> </div></td> <td><div align="justify"> <select name="Filter 3" size="1" id="Filter 3" title="Filter 3"> <option value="Black and White">Black and White</option> <option value="Colour">Colour</option> </select> </div></td> </tr> <tr> <td><label> <div align="justify">4. <input name="Image Upload 4" type="file" id="Image Upload 4." title="Image Upload 4." /> </div> </label></td> <td><label> <div align="center">Please fill in... <textarea name="Description 4." cols="" rows="" id="Description 4." title="Description 4." dir="ltr" label="Description 4."></textarea> </div> </label></td> <td><div align="center"> <div align="center">Please Select <select name="Size 4." size="1" id="Size 4." title="Size 4."> <option>8 x 10</option> <option>8 x 12</option> <option>12 x 16</option> <option>16 x 20</option> <option>13 x 33</option> <option>16 x 24</option> <option>33 x 33</option> </select> </div> </div></td> <td><div align="justify" id="Quantity 4" title="Quantity 4"> <label>Please Select: <select name="Quantity 4" size="1"> <option value="0" selected="selected">0</option> <option value="1">1</option> <option value="2">2</option> <option value="3">3</option> <option value="4">4</option> <option value="5">5</option> <option value="6">6</option> <option value="7">7</option> <option value="8">8</option> <option value="9">9</option> </select> </label> </div></td> <td><div align="justify"> <select name="Filter 4" size="1" id="Filter 4" title="Filter 4"> <option value="Black and White">Black and White</option> <option value="Colour">Colour</option> </select> </div></td> </tr> <tr> <td><label> <div align="justify">5. <input name="Image Upload 5" type="file" id="Image Upload 5." title="Image Upload 5." /> </div> </label></td> <td><label> <div align="center">Please fill in... <textarea name="Description 5." cols="" rows="" id="Description 5." title="Description 5." dir="ltr" label="Description 5."></textarea> </div> </label></td> <td><div align="center"> <div align="center">Please Select <select name="Size 5." id="Size 5." title="Size 5."> <option>8 x 10</option> <option>8 x 12</option> <option>12 x 16</option> <option>16 x 20</option> <option>13 x 33</option> <option>16 x 24</option> <option>33 x 33</option> </select> </div> </div></td> <td><div align="justify"> <label>Please Select: <select name="Quantity 5" size="1" id="Quantity 5" title="Quantity 5"> <option value="0" selected="selected">0</option> <option value="1">1</option> <option value="2">2</option> <option value="3">3</option> <option value="4">4</option> <option value="5">5</option> <option value="6">6</option> <option value="7">7</option> <option value="8">8</option> <option value="9">9</option> </select> </label> </div></td> <td><div align="justify"> <select name="Filter 5" id="Filter 5" title="Filter 5"> <option value="Black and White">Black and White</option> <option value="Colour">Colour</option> </select> </div></td> </tr> <tr> <td><label> <div align="justify">6. <input name="Image Upload 6" type="file" id="Image Upload 6." title="Image Upload 6." /> </div> </label></td> <td><label> <div align="center">Please fill in... <textarea name="Description 6." cols="" rows="" id="Description 6." title="Description 6." dir="ltr" label="Description 6."></textarea> </div> </label></td> <td><div align="center"> <div align="center">Please Select <select name="Size 6." id="Size 6." title="Size 6."> <option>8 x 10</option> <option>8 x 12</option> <option>12 x 16</option> <option>16 x 20</option> <option>13 x 33</option> <option>16 x 24</option> <option>33 x 33</option> </select> </div> </div></td> <td><div align="justify"> <label>Please Select: <select name="Quantity 6" size="1" id="Quantity 6" title="Quantity 6"> <option value="0" selected="selected">0</option> <option value="1">1</option> <option value="2">2</option> <option value="3">3</option> <option value="4">4</option> <option value="5">5</option> <option value="6">6</option> <option value="7">7</option> <option value="8">8</option> <option value="9">9</option> </select> </label> </div></td> <td><div align="justify"> <select name="Filter 6" id="Filter 6" title="Filter 6"> <option value="Black and White">Black and White</option> <option value="Colour">Colour</option> </select> </div></td> </tr> <tr> <td><label> <div align="justify">7. <input name="Image Upload 7" type="file" id="Image Upload 7" title="Image Upload 7." /> </div> </label></td> <td><label> <div align="center">Please fill in... <textarea name="Description 7." cols="" rows="" id="Description 7." title="Description 7." dir="ltr" label="Description 7."></textarea> </div> </label></td> <td><div align="center">Please Select <select name="Size 7." id="Size 7." title="Size 7."> <option>8 x 10</option> <option>8 x 12</option> <option>12 x 16</option> <option>16 x 20</option> <option>13 x 33</option> <option>16 x 24</option> <option>33 x 33</option> </select> </div></td> <td><div align="justify"> <label>Please Select: <select name="Quantity 7" size="1" id="Quantity 7" title="Quantity 7"> <option value="0" selected="selected">0</option> <option value="1">1</option> <option value="2">2</option> <option value="3">3</option> <option value="4">4</option> <option value="5">5</option> <option value="6">6</option> <option value="7">7</option> <option value="8">8</option> <option value="9">9</option> </select> </label> </div></td> <td><div align="justify"> <select name="Filter 7" id="Filter 7" title="Filter 7"> <option value="Black and White">Black and White</option> <option value="Colour">Colour</option> </select> </div></td> </tr> <tr> <td><label> <div align="justify">8. <input name="Image Upload 8" type="file" id="Image Upload 8" title="Image Upload 8." /> </div> </label></td> <td><label> <div align="center">Please fill in... <textarea name="Description 8." cols="" rows="" id="Description 8." title="Description 8." dir="ltr" label="Description 8."></textarea> </div> </label></td> <td><div align="center"> <div align="center">Please Select <select name="Size 8." id="Size 8." title="Size 8."> <option>8 x 10</option> <option>8 x 12</option> <option>12 x 16</option> <option>16 x 20</option> <option>13 x 33</option> <option>16 x 24</option> <option>33 x 33</option> </select> </div> </div></td> <td><div align="justify"> <label>Please Select: <select name="Quantity 8" size="1" id="Quantity 8" title="Quantity 8"> <option value="0" selected="selected">0</option> <option value="1">1</option> <option value="2">2</option> <option value="3">3</option> <option value="4">4</option> <option value="5">5</option> <option value="6">6</option> <option value="7">7</option> <option value="8">8</option> <option value="9">9</option> </select> </label> </div></td> <td><div align="justify"> <select name="Filter 8" id="Filter 8" title="Filter 8"> <option value="Black and White">Black and White</option> <option value="Colour">Colour</option> </select> </div></td> </tr> </table> <p>Your order will be received and calculated by a staff member. You will be sent the total fee and the details for payment. </p> <p>Method of Payment: <span class="style4">(please select one)</span></p> <p> <label> <input name="Payment" type="radio" id="Internet Banking Payment" title="Internet Banking Payment" value="Internet Banking" /> Internet Banking</label> </p> <p> <input name="Payment" type="radio" id="Cheque Payment" title="Cheque Payment" value="Cheque" /> <label for="radiobutton">Cheque</label> </p> <p> <input name="Payment" type="radio" id="Cash Payment" title="Cash Payment" value="Cash" /> <label for="radio">Cash</label> </p> <p> <label for="textfield">Phone Number</label> <input name="Phone Number" type="text" id="Phone Number" title="Phone Number" /> </p> <p> <label for="textfield">Email Address</label> <input name="Email Address" type="text" id="Email Address" title="Email Address" /> </p> <p> <input name="Agreement" type="checkbox" id="I agree to all stated" title="I agree to all stated" value="Agreed" /> <label for="checkbox">I agree with the terms of use, I have also validated that all of the information provided is correct.</label> </p> <p> <input type="submit" name="Submit" value="Submit" /> <input name="Reset" type="reset" id="Submit" value="Reset" /> <label for="Submit"><span class="style4">Caution: This will delete all data entered in the form.</span></label> </p> </form> <p align="left"> </p> </body> </html> ================================================== ======= The code in the PHP script that the page leads to is: <HTML> <HEAD> <TITLE>We have succesfully processed your order</TITLE> </HEAD> <BODY> <H2>Thanks for your order! We will get back to you with payment details soon.</H2> <?PHP $email = $HTTP_POST_VARS[email]; $mailto = "yes2006@iona.school.nz"; $mailsubj = "Order Form"; $mailhead = "From: $email\n"; reset ($HTTP_POST_VARS); $mailbody = "Values submitted from web site form:\n"; while (list ($key, $val) = each ($HTTP_POST_VARS)) { $mailbody .= "$key : $val\n"; } mail($mailto, $mailsubj, $mailbody, $mailhead); ?> </BODY> </HTML> ================================================== ============= It is the same one as that which i used with the original Blue-Voda form, and I have changed nothing on it since then. Thanks for your help, Daniel www.dwat.co.nz www.dwat-worldwide.com www.getcanvased.co.nz |
|
#4
| |||
| |||
|
My Mistake, the previous code is not the correct code, please use this one, the .php code remains the same. <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" /> <title>Get Canvased Secure Order Form</title> <style type="text/css"> <!-- .style4 { font-size: 12px; font-style: italic; } body,td,th { color: #FFFFFF; } body { background-color: #000000; } --> </style> </head> <body> <h1 align="center">Get Canvased Order Page</h1> <p align="center">Please fill in all possible fields to make your order more user friendly and manageable for the staff.</p> <form action="http://secure.getcanvased.co.nz/order/order.php" method="post" enctype="multipart/form-data" name="Get Canvased Orer Form" target="_self" id="Get Canvased Orer Form"> <label>Name: <input name="Name" type="text" id="Name" title="Name" /> </label> <p> <label>Address: <input name="Address" type="text" id="Address" title="Address" /> </label> </p> <p> <label>Town: <input name="Town" type="text" id="Town" title="Town" /> </label> </p> <p> <label>Area Code: <input name="Area Code" type="text" id="Area Code" title="Area Code" /> </label> </p> <table width="1116" border="1" cellspacing="0" cellpadding="0"> <tr> <th width="235" scope="col">Upload Image </th> <th width="279" scope="col">Description</th> <th width="179" scope="col">Size</th> <th width="192" scope="col">Quantity</th> <th width="219" scope="col">Filter</th> </tr> <tr> <td><label> <div align="justify">1. <input name="Image Upload 11." type="file" id="Image Upload One." title="Image Upload 1." /> </div> </label></td> <td><label> <div align="center">Please fill in... <textarea name="Description 1." cols="" rows="" id="Description 1." title="Description 1." dir="ltr" label="Description 1."></textarea> </div> </label></td> <td><label> <div align="center">Please Select <select name="Size 1." id="Size 1." title="Size 1."> <option>8 x 10</option> <option>8 x 12</option> <option>12 x 16</option> <option>16 x 20</option> <option>13 x 33</option> <option>16 x 24</option> <option>33 x 33</option> </select> </div> </label></td> <td><div align="justify"> <label>Please Select: <select name="Quantity 1" id="Quantity 1" title="Quantity 1"> <option value="0" selected="selected">0</option> <option value="1">1</option> <option value="2">2</option> <option value="3">3</option> <option value="4">4</option> <option value="5">5</option> <option value="6">6</option> <option value="7">7</option> <option value="8">8</option> <option value="9">9</option> </select> </label> </div></td> <td><div align="justify"> <label> <select name="Filter 1" id="Filter 1" title="Filter 1"> <option value="Black and White">Black and White</option> <option value="Colour">Colour</option> </select> </label> </div></td> </tr> <tr> <td><label> <div align="justify">2. <input name="Image Upload 12" type="file" id="Image Upload 2." title="Image Upload 2." /> </div> </label></td> <td><label> <div align="center">Please fill in... <textarea name="Description 2." cols="" rows="" id="Description 1." title="Description 1." dir="ltr" label="Description 1."></textarea> </div> </label></td> <td><div align="center">Please Select <select name="Size 2." id="Size 2." title="Size 2."> <option>8 x 10</option> <option>8 x 12</option> <option>12 x 16</option> <option>16 x 20</option> <option>13 x 33</option> <option>16 x 24</option> <option>33 x 33</option> </select> </div></td> <td><div align="justify"> <label>Please Select: <select name="quantity 2" id="quantity 2" title="quantity 2"> <option value="0" selected="selected">0</option> <option value="1">1</option> <option value="2">2</option> <option value="3">3</option> <option value="4">4</option> <option value="5">5</option> <option value="6">6</option> <option value="7">7</option> <option value="8">8</option> <option value="9">9</option> </select> </label> </div></td> <td><div align="justify"> <select name="Filter 2" id="Filter 2" title="Filter 2"> <option value="Black and White">Black and White</option> <option value="Colour">Colour</option> </select> </div></td> </tr> <tr> <td><label> <div align="justify">3. <input name="Image Upload 13" type="file" id="Image Upload 3." title="Image Upload 3." /> </div> </label></td> <td><label> <div align="center">Please fill in... <textarea name="Description 3." cols="" rows="" id="Description 3." title="Description 3." dir="ltr" label="Description 3."></textarea> </div> </label></td> <td><div align="center"> <div align="center">Please Select <select name="Size 3." size="1" id="Size 3." title="Size 3."> <option>8 x 10</option> <option>8 x 12</option> <option>12 x 16</option> <option>16 x 20</option> <option>13 x 33</option> <option>16 x 24</option> <option>33 x 33</option> </select> </div> </div></td> <td><div align="justify" id="Quantity 3" title="Quantity 3"> <label>Please Select: <select name="Quantity 3" size="1"> <option value="0" selected="selected">0</option> <option value="1">1</option> <option value="2">2</option> <option value="3">3</option> <option value="4">4</option> <option value="5">5</option> <option value="6">6</option> <option value="7">7</option> <option value="8">8</option> <option value="9">9</option> </select> </label> </div></td> <td><div align="justify"> <select name="Filter 3" size="1" id="Filter 3" title="Filter 3"> <option value="Black and White">Black and White</option> <option value="Colour">Colour</option> </select> </div></td> </tr> <tr> <td><label> <div align="justify">4. <input name="Image Upload 14" type="file" id="Image Upload 4." title="Image Upload 4." /> </div> </label></td> <td><label> <div align="center">Please fill in... <textarea name="Description 4." cols="" rows="" id="Description 4." title="Description 4." dir="ltr" label="Description 4."></textarea> </div> </label></td> <td><div align="center"> <div align="center">Please Select <select name="Size 4." size="1" id="Size 4." title="Size 4."> <option>8 x 10</option> <option>8 x 12</option> <option>12 x 16</option> <option>16 x 20</option> <option>13 x 33</option> <option>16 x 24</option> <option>33 x 33</option> </select> </div> </div></td> <td><div align="justify" id="Quantity 4" title="Quantity 4"> <label>Please Select: <select name="Quantity 4" size="1"> <option value="0" selected="selected">0</option> <option value="1">1</option> <option value="2">2</option> <option value="3">3</option> <option value="4">4</option> <option value="5">5</option> <option value="6">6</option> <option value="7">7</option> <option value="8">8</option> <option value="9">9</option> </select> </label> </div></td> <td><div align="justify"> <select name="Filter 4" size="1" id="Filter 4" title="Filter 4"> <option value="Black and White">Black and White</option> <option value="Colour">Colour</option> </select> </div></td> </tr> <tr> <td><label> <div align="justify">5. <input name="Image Upload 15" type="file" id="Image Upload 5." title="Image Upload 5." /> </div> </label></td> <td><label> <div align="center">Please fill in... <textarea name="Description 5." cols="" rows="" id="Description 5." title="Description 5." dir="ltr" label="Description 5."></textarea> </div> </label></td> <td><div align="center"> <div align="center">Please Select <select name="Size 5." id="Size 5." title="Size 5."> <option>8 x 10</option> <option>8 x 12</option> <option>12 x 16</option> <option>16 x 20</option> <option>13 x 33</option> <option>16 x 24</option> <option>33 x 33</option> </select> </div> </div></td> <td><div align="justify"> <label>Please Select: <select name="Quantity 5" size="1" id="Quantity 5" title="Quantity 5"> <option value="0" selected="selected">0</option> <option value="1">1</option> <option value="2">2</option> <option value="3">3</option> <option value="4">4</option> <option value="5">5</option> <option value="6">6</option> <option value="7">7</option> <option value="8">8</option> <option value="9">9</option> </select> </label> </div></td> <td><div align="justify"> <select name="Filter 5" id="Filter 5" title="Filter 5"> <option value="Black and White">Black and White</option> <option value="Colour">Colour</option> </select> </div></td> </tr> <tr> <td><label> <div align="justify">6. <input name="Image Upload 16" type="file" id="Image Upload 6." title="Image Upload 6." /> </div> </label></td> <td><label> <div align="center">Please fill in... <textarea name="Description 6." cols="" rows="" id="Description 6." title="Description 6." dir="ltr" label="Description 6."></textarea> </div> </label></td> <td><div align="center"> <div align="center">Please Select <select name="Size 6." id="Size 6." title="Size 6."> <option>8 x 10</option> <option>8 x 12</option> <option>12 x 16</option> <option>16 x 20</option> <option>13 x 33</option> <option>16 x 24</option> <option>33 x 33</option> </select> </div> </div></td> <td><div align="justify"> <label>Please Select: <select name="Quantity 6" size="1" id="Quantity 6" title="Quantity 6"> <option value="0" selected="selected">0</option> <option value="1">1</option> <option value="2">2</option> <option value="3">3</option> <option value="4">4</option> <option value="5">5</option> <option value="6">6</option> <option value="7">7</option> <option value="8">8</option> <option value="9">9</option> </select> </label> </div></td> <td><div align="justify"> <select name="Filter 6" id="Filter 6" title="Filter 6"> <option value="Black and White">Black and White</option> <option value="Colour">Colour</option> </select> </div></td> </tr> <tr> <td><label> <div align="justify">7. <input name="Image Upload 17" type="file" id="Image Upload 7" title="Image Upload 7." /> </div> </label></td> <td><label> <div align="center">Please fill in... <textarea name="Description 7." cols="" rows="" id="Description 7." title="Description 7." dir="ltr" label="Description 7."></textarea> </div> </label></td> <td><div align="center">Please Select <select name="Size 7." id="Size 7." title="Size 7."> <option>8 x 10</option> <option>8 x 12</option> <option>12 x 16</option> <option>16 x 20</option> <option>13 x 33</option> <option>16 x 24</option> <option>33 x 33</option> </select> </div></td> <td><div align="justify"> <label>Please Select: <select name="Quantity 7" size="1" id="Quantity 7" title="Quantity 7"> <option value="0" selected="selected">0</option> <option value="1">1</option> <option value="2">2</option> <option value="3">3</option> <option value="4">4</option> <option value="5">5</option> <option value="6">6</option> <option value="7">7</option> <option value="8">8</option> <option value="9">9</option> </select> </label> </div></td> <td><div align="justify"> <select name="Filter 7" id="Filter 7" title="Filter 7"> <option value="Black and White">Black and White</option> <option value="Colour">Colour</option> </select> </div></td> </tr> <tr> <td><label> <div align="justify">8. <input name="Image Upload 18" type="file" id="Image Upload 8" title="Image Upload 8." maxlength="10000000" /> </div> </label></td> <td><label> <div align="center">Please fill in... <textarea name="Description 8." cols="" rows="" id="Description 8." title="Description 8." dir="ltr" label="Description 8."></textarea> </div> </label></td> <td><div align="center"> <div align="center">Please Select <select name="Size 8." id="Size 8." title="Size 8."> <option>8 x 10</option> <option>8 x 12</option> <option>12 x 16</option> <option>16 x 20</option> <option>13 x 33</option> <option>16 x 24</option> <option>33 x 33</option> </select> </div> </div></td> <td><div align="justify"> <label>Please Select: <select name="Quantity 8" size="1" id="Quantity 8" title="Quantity 8"> <option value="0" selected="selected">0</option> <option value="1">1</option> <option value="2">2</option> <option value="3">3</option> <option value="4">4</option> <option value="5">5</option> <option value="6">6</option> <option value="7">7</option> <option value="8">8</option> <option value="9">9</option> </select> </label> </div></td> <td><div align="justify"> <select name="Filter 8" id="Filter 8" title="Filter 8"> <option value="Black and White">Black and White</option> <option value="Colour">Colour</option> </select> </div></td> </tr> </table> <p>Your order will be received and calculated by a staff member. You will be sent the total fee and the details for payment. </p> <p>Method of Payment: <span class="style4">(please select one)</span></p> <p> <label> <input name="Payment" type="radio" id="Internet Banking Payment" title="Internet Banking Payment" value="Internet Banking" /> Internet Banking</label> </p> <p> <input name="Payment" type="radio" id="Cheque Payment" title="Cheque Payment" value="Cheque" /> <label for="radiobutton">Cheque</label> </p> <p> <input name="Payment" type="radio" id="Cash Payment" title="Cash Payment" value="Cash" /> <label for="radio">Cash</label> </p> <p> <label for="textfield">Phone Number</label> <input name="Phone Number" type="text" id="Phone Number" title="Phone Number" /> </p> <p> <label for="textfield">Email Address</label> <input name="Email Address" type="text" id="Email Address" title="Email Address" /> </p> <p> <input name="Agreement" type="checkbox" id="I agree to all stated" title="I agree to all stated" value="Agreed" /> <label for="checkbox">I agree with the terms of use, I have also validated that all of the information provided is correct.</label> </p> <p> <input type="submit" name="Submit" value="Submit" /> <input name="Reset" type="reset" id="Submit" value="Reset" /> <label for="Submit"><span class="style4">Caution: This will delete all data entered in the form.</span></label> </p> </form> </body> </html> |
|
#5
| ||||
| ||||
|
No, this script is never going to work, as it is only for text fields. To upload images, you need a different script, which, in youe case, is also a bit more complicated than usual. I will nee some time to prepare you one. You also don't have any validation here, or lenght checking or Refferer checking or session, to prevent your script from being abused by hackers for spam submission. Stand by.
__________________ Navaldesign Logger Lite: Low Cost, Customizable, multifeatured Login script Instant Download Cart: a Powerfull, Customized, in site, DB driven, e-products Cart DBTechnosystems.com Forms, Databases, Shopping Carts, Instant Download Carts, Loggin Systems and more.... Advanced BlueVoda Form Processor : No coding form processor! Just install and use! Now with built in CAPTCHA! |
|
#7
| ||||
| ||||
|
Hi, hereafter find your script. It uses loops to treat the repeated similar fields, otherwise it would be a very long script. Also. it uses user defined formatting for the message. But you need to make some modifications in your form. Ok, let's start with the script: Quote:
1. Change your form "Image Upload" fields. At the moment, they are caled "Image Upload 11", "Image Upload 12", ......... "Image Upload 18" Change them in "Image Upload 1", "Image Upload 2", .... "Image Upload 8" You must do that in order to have the same uniform numbering as the Quantity, Description, Size, and Filter fields so they can be treated by the loops without changing the loop numbering. 2. Some of your fields, have a dot "." at the end. F.e. your "Image Upload 11." . Take off ALL dots, from ALL fields. Go through it very carefully, there are many that have the dot at the end. The dot causes problems with my php coding. 3. Add a HIDDEN field, named "size" . This field will be useful for you to be able to change, if required in the future, the maximum uploaded file size. Make it's value equal to the max file size you want, f.e. if you want your files to be max 500 Kb, the value should be 500000 4. I'm sending you one gif. It is required for the html code used in the error page. It's called "background.gif" . It is simply a 730 x 99 pixel blue rectangle. Please upload it in the same directory as the script and the form. If you want, however, you can create your own template for the error screen, and put it in place of the one i have created for you, in the script. If you need to do that, let me know and i will send you instructions on how to create it. 5. At the bottom of the script, you will see that the script, at the end, redirects to a "thankyou_page.html". This is a simple html page, that you must create and upload, in the same directory. Make it as in the example in the bottom of the page. 6. Copy the code, and paste it in Notepad. After changing your details, (the parts in blue color) Go to File, Save As, select File Type "All files" and save it as order.php . Upload "order.php" on your site, in the same folder as the form. 7. Create in the same directory, a folder called "uploads" and set it's permissions to 777. It must be called excactly that, "uploads" all lowercase characters. 8. You can personalize the error messages in this script (parts in red), with whatever you want. Please follow these steps EXCACTLY as described or your script could not work. Feel free to try the form and the script here. Just leave some of the required fields empty to see the error screen, and then fill it in correctly to see how it redirects the visitor to the thankyou page. If you need any help just let me know.
__________________ Navaldesign Logger Lite: Low Cost, Customizable, multifeatured Login script Instant Download Cart: a Powerfull, Customized, in site, DB driven, e-products Cart DBTechnosystems.com Forms, Databases, Shopping Carts, Instant Download Carts, Loggin Systems and more.... Advanced BlueVoda Form Processor : No coding form processor! Just install and use! Now with built in CAPTCHA! |