Re: Implementation

  •  07-06-2011, 6:46 AM

    Re: Implementation

    But can you collect information on the upload page where the user is selecting file(s) to upload and it be submitted immediately after the file has completed the upload?
     
    I guess what I am trying to say is that we are used to using "forms" and form fields for uploading files. Form fields were used in collecting particular information about the person submitting the upload.
     
    We would like to use a combination of the file being uploaded and an email being fired off with all the information that we require above in the previous post. And have the pertinent fields validated so that they are required before the file can be uploaded in the first place. We want that so purely anonymous uploads are not allowed. The form fields would be required to be completed before the upload could occur.
     
    This is what we previoulsy used:
     
    <form method="POST" enctype="multipart/form-data" name="FrontPage_Form1" action="--WEBBOT-SELF--" onsubmit="return FrontPage_Form1_Validator(this)" language="JavaScript">
            <!--webbot bot="FileUpload" u-file="assets/FormResults/FileUploadResults.htm" s-format="HTML/BR" s-label-fields="TRUE" b-reverse-chronology="FALSE" s-email-format="TEXT/PRE" b-email-label-fields="TRUE" b-email-subject-from-field="FALSE" s-email-subject="Uploaded Artwork From Website Form" s-destination="uploaded/" s-category s-assignedto s-reviewstatus b-process-metainfo="FALSE" s-date-format="%A %B %d, %Y" s-time-format="%I:%M %p %Z" s-builtin-fields="Date Time" s-form-fields="FirstName LastName eMail Phone UploadFile1 UploadFile2 UploadFile3 NOTES " u-confirmation-url="upload_complete.htm" s-email-address="email@emailaddress.com" startspan --><input TYPE="hidden" NAME="VTI-GROUP" VALUE="0"><input TYPE="hidden" NAME="_charset_" VALUE="windows-1252"><!--webbot bot="FileUpload" endspan i-checksum="58985" --><div align="center">
              <center>
              <table border="0" cellpadding="0" cellspacing="5" style="border-collapse: collapse" bordercolor="#111111" width="120" id="AutoNumber2">
                <tr>
                  <td><b><font color="#FFFFFF" face="Verdana" size="1">*</font><font color="#FFFFFF" face="Verdana" size="2">First Name</font></b></td>
                  <td><b><font color="#FFFFFF" face="Verdana" size="1">*</font><font color="#FFFFFF" face="Verdana" size="2">Last Name</font></b></td>
                </tr>
                <tr>
                  <td>
                  <!--webbot bot="Validation" s-display-name="First Name" b-value-required="TRUE" --><input type="text" name="FirstName" size="40" tabindex="1"></td>
                  <td>
                  <!--webbot bot="Validation" s-display-name="Last Name" b-value-required="TRUE" --><input type="text" name="LastName" size="40" tabindex="2"></td>
                </tr>
                <tr>
                  <td><b><font color="#FFFFFF" face="Verdana" size="1">*</font><font color="#FFFFFF" face="Verdana" size="2">eMail Address</font></b></td>
                  <td><b><font color="#FFFFFF" face="Verdana" size="1">*</font><font color="#FFFFFF" face="Verdana" size="2">Phone</font></b></td>
                </tr>
                <tr>
                  <td>
                  <!--webbot bot="Validation" s-display-name="eMail Address" b-value-required="TRUE" --><input type="text" name="eMail" size="40" tabindex="3"></td>
                  <td>
                  <!--webbot bot="Validation" s-display-name="Phone Number" b-value-required="TRUE" --><input type="text" name="Phone" size="40" tabindex="4"></td>
                </tr>
                <tr>
                  <td colspan="2">
                  <b><font color="#FFFFFF" size="1" face="Verdana">* Required in
                  case of questions about your inquiry</font></b></td>
                </tr>
              </table>
              </center>
            </div>
            <p style="margin-top: 0; margin-bottom: 0" align="center">&nbsp;</p>
            <div align="center">
              <pre style="margin-top: 0; margin-bottom: 0"><b><font face="Verdana" color="#FFFFFF" size="3">NOTES</font></b></pre>
            </div>
            <div align="center">
              <center>
              <pre style="margin-top: 0; margin-bottom: 0"><textarea rows="6" name="NOTES" cols="65" tabindex="5"></textarea></pre>
              </center>
            </div>
            <p style="margin-top: 0; margin-bottom: 0" align="center">&nbsp;</p>
            <p style="margin-top: 0; margin-bottom: 0" align="center">&nbsp;</p>
            <p style="margin-top: 0; margin-bottom: 0" align="center"><b>
            <font face="Verdana" color="#FFFFFF">Please Select Your File Below</font></b></p>
            <p style="margin-top: 0; margin-bottom: 0" align="center">&nbsp;</p>
            <p style="margin-top: 0; margin-bottom: 0" align="center">
            <input type="file" name="UploadFile1" size="50" tabindex="6"></p>
            <p style="margin-top: 0; margin-bottom: 0" align="center">
            <input type="file" name="UploadFile2" size="50" tabindex="7"></p>
            <p style="margin-top: 0; margin-bottom: 0" align="center">
            <input type="file" name="UploadFile3" size="50" tabindex="8"></p>
            <p style="margin-top: 0; margin-bottom: 0" align="center">&nbsp;</p>
            <p style="margin-top: 0; margin-bottom: 0" align="center">
            <input type="submit" value="Submit" name="SubmitButton" tabindex="9"></p>
            <p style="margin-top: 0; margin-bottom: 0" align="center">&nbsp;</p>
          </form>
     
    Thanks for any assistance.
     
    SteveS
View Complete Thread