Advertisement
Guest User

Submit form

a guest
Jul 6th, 2013
50
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 5.10 KB | None | 0 0
  1. <form method="post" action="">
  2. <input type="hidden" name="ccf_customhtml" value="1" />
  3. <input type="hidden" name="success_message" value="Thank you for filling out our form!" />
  4. <input type="hidden" name="thank_you_page" value="http://www.google.com" />
  5. <input type="hidden" name="destination_email" value="mysteryart@mysteryartcontest.com" />
  6. <input type="hidden" name="required_fields" value="field_name1, field_name2" />
  7.  
  8. <!-- Paste all this code into a page or post and edit it to your liking. It is recommended you only use this feature if you are experienced with HTML. The destination_email field specifies where emails will be sent on successful submission; you can have the form send to multiple addresses by separating email's with semi-colons (i.e. email@google.com; email2@google.com). The success_message field will add a popover containing the message when the form is completed successfully, the thank_you_page field will force the user to be redirected to that specific page on successful form completion. The required_fields hidden field is optional; to use it separate the field names you want required by commas. Remember to use underscores instead of spaces in field names! -->
  9.  
  10.  
  11. &&&&&&the code above this line is from Custom Contact Form plugin. Below is a copy and paste I found&&&&&&&&&
  12.  
  13.  
  14. <div class="rounded-box">
  15.  
  16. <h2>Please choose your primary image or video</h2>
  17.  
  18. <p> This image may be a JPG, GIF or PNG and must be no larger than 2MB:</p>
  19.  
  20. <input type='file' name='primaryImage' size='20' /><br />
  21.  
  22.  
  23.  
  24. <p>You may also upload a video if you would like(This file can be a .MOV, .AVI,.FLV and it must be under 100MB:</p> <input name="uploaded" type="file" /><br />
  25.  
  26.  
  27.  
  28.  
  29.  
  30. </div>
  31. <br /><br />
  32.  
  33.  
  34. <div class="rounded-box">
  35. <h2>In-Process Images</h2>
  36. <p>Upload 5 additional images demonstrating your process (JPG, GIF or PNG - 2MB Max file size for each):<br /><br />
  37.  
  38. <input type='file' name='processImage1' size='20' />
  39.  
  40. <input type='file' name='processImage2' size='20' />
  41.  
  42. <input type='file' name='processImage3' size='20' /><br /><br />
  43.  
  44. <input type='file' name='processImage4' size='20' />
  45.  
  46. <input type='file' name='processImage5' size='20' />
  47.  
  48. </p>
  49.  
  50. </div>
  51.  
  52. <br /><br />
  53.  
  54. <div class="rounded-box">
  55.  
  56.  
  57. <h2>Submission Details</h2>
  58. <strong>**All fields are Required**</strong>
  59. <table width="550px">
  60.  
  61. </tr>
  62.  
  63. <tr>
  64.  
  65. <td valign="top">
  66.  
  67. <p>First Name</p>
  68.  
  69. </td>
  70.  
  71. <td valign="top">
  72.  
  73. <input type="text" name="first_name" maxlength="55" size="55">
  74.  
  75. </td>
  76.  
  77. </tr>
  78.  
  79.  
  80.  
  81. <tr>
  82.  
  83. <td valign="top">
  84.  
  85. <p>Last Name</p>
  86.  
  87. </td>
  88.  
  89. <td valign="top">
  90.  
  91. <input type="text" name="last_name" maxlength="55" size="55">
  92.  
  93. </td>
  94.  
  95. </tr>
  96.  
  97.  
  98.  
  99. <tr>
  100.  
  101. <td valign="top">
  102.  
  103. <p>Date of Birth</p>
  104.  
  105. </td>
  106.  
  107. <td valign="top">
  108.  
  109. <input type="text" name="dob" maxlength="55" size="55">
  110.  
  111. </td>
  112.  
  113. </tr>
  114.  
  115. <tr>
  116.  
  117. <td valign="top">
  118.  
  119. <p>Email Address</p>
  120.  
  121. </td>
  122.  
  123. <td valign="top">
  124.  
  125. <input type="text" name="email" maxlength="80" size="55">
  126.  
  127. </td>
  128.  
  129.  
  130.  
  131. </tr>
  132.  
  133.  
  134.  
  135. <tr>
  136.  
  137. <td valign="top">
  138.  
  139. <p>Address</p>
  140.  
  141. </td>
  142.  
  143. <td valign="top">
  144.  
  145. <input type="text" name="address" maxlength="80" size="55" rows="2">
  146.  
  147. </td>
  148.  
  149.  
  150.  
  151. </tr>
  152.  
  153.  
  154.  
  155. <tr>
  156.  
  157. <td valign="top">
  158.  
  159. <p>City & State</p>
  160.  
  161. </td>
  162.  
  163. <td valign="top">
  164.  
  165. <input type="text" name="city_state" maxlength="80" size="55" rows="2">
  166.  
  167. </td>
  168.  
  169.  
  170.  
  171. </tr>
  172.  
  173.  
  174.  
  175. <tr>
  176.  
  177. <td valign="top">
  178.  
  179. <p>Zip Code</p>
  180.  
  181. </td>
  182.  
  183. <td valign="top">
  184.  
  185. <input type="text" name="zip_code" maxlength="80" size="55" rows="2">
  186.  
  187. </td>
  188.  
  189.  
  190.  
  191. </tr>
  192.  
  193.  
  194.  
  195.  
  196.  
  197. <tr>
  198.  
  199. <td valign="top">
  200.  
  201. <p>Telephone Number</p>
  202.  
  203. </td>
  204.  
  205. <td valign="top">
  206.  
  207. <input type="text" name="telephone" maxlength="30" size="55">
  208.  
  209. </td>
  210.  
  211. </tr>
  212.  
  213.  
  214.  
  215. <tr>
  216.  
  217. <td valign="top">
  218.  
  219. <p>Title of Sculpture</p>
  220.  
  221. </td>
  222.  
  223. <td valign="top">
  224.  
  225. <input type="text" name="title" maxlength="60" size="55">
  226.  
  227. </td>
  228.  
  229. </tr>
  230.  
  231.  
  232. <tr>
  233.  
  234. <td height="73" valign="top">
  235.  
  236. <p>Description of Process</p>
  237.  
  238. </td>
  239.  
  240. <td valign="top">
  241.  
  242. <textarea name="description" maxlength="10000" cols="40" rows=16></textarea>
  243.  
  244. </td>
  245.  
  246.  
  247.  
  248. </tr>
  249.  
  250.  
  251.  
  252. <tr>
  253.  
  254. <td valign="top">
  255.  
  256. <p>How did you hear about us?</p>
  257.  
  258. </td>
  259.  
  260. <td valign="top">
  261.  
  262. <input type="text" name="hear" maxlength="60" size="55">
  263.  
  264. </td>
  265.  
  266. </tr>
  267.  
  268. <tr>
  269.  
  270. <td valign="top">
  271.  
  272. <p>Submission Code</p>
  273.  
  274. </td>
  275.  
  276. <td valign="top">
  277.  
  278. <input type="text" name="password" maxlength="55" size="55">
  279.  
  280. </td>
  281.  
  282. </tr>
  283.  
  284. <tr>
  285.  
  286. <td valign="top">
  287.  
  288. <p>I agree to <a href="http://mysteryartcontest.com/?page_id=7" >terms</a>.</p>
  289.  
  290.  
  291.  
  292.  
  293.  
  294. </td>
  295.  
  296. <td>
  297.  
  298. <input type="checkbox" name="terms" value="agree" />
  299.  
  300.  
  301.  
  302. </td>
  303.  
  304. </tr>
  305.  
  306.  
  307.  
  308.  
  309.  
  310.  
  311.  
  312. <tr>
  313.  
  314. <td colspan="2" style="text-align:center">
  315.  
  316. <input type="submit" value="Submit">
  317.  
  318. </td>
  319.  
  320. </tr>
  321.  
  322. </table>
  323.  
  324.  
  325.  
  326. </form>
  327.  
  328.  
  329. </font>
  330.  
  331.  
  332.  
  333.  
  334.  
  335. <table width="600" align="left">
  336.  
  337. <tr align="left">
  338.  
  339. <td align="left">
  340.  
  341. </td>
  342.  
  343. </tr>
  344.  
  345. </table>
  346. </div>
  347. <br />
  348. <div class="rounded-box">
  349. <p>***Please be patient. This may take a few minutes.***</p>
  350. </div>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement