|
|
Upload Plus List of Categories
Please refer to the Upload Lite FAQ for more information.
- Can Users select from a list of Admin recipients?
- Do I need to create directories?
- How do I collect the sender's email address?
- Can I send more than one email notification?
- Can I remove the "toemail" field from the default Form?
- How do I require Users enter a value in some of my form fields?
-
Can Users select from a list of Admin recipients?
Yes, as of version 3.5 you can include a form field named "toemail" in your Forms where User's can either type in the recipient's email address or select from a list you have defined. To enable Users to type in the recipient of notifications, use :
<input type="Text" name="toemail" value="">
For select menus, use :
<select name="toemail">
<option value="support@server.com">Support
<option value="billing@server.com">Billing
<option value="info@server.com">Info
</select>
Or for Radio buttons, use :
<input type="Radio" name="toemail" value="support@yourserver.com">Support
<input type="Radio" name="toemail" value="billing@yourserver.com">Billing
<input type="Radio" name="toemail" value="info@yourserver.com">Info
-
Do I need to create directories?
Nope. All sub directories are auto created by the script. You just need to specify the main directory on line 39 of the script. Make sure it has read/write permissions set (CHMOD 777 on Unix servers). Then in your form, add as many directory names to a select menu or using radio buttons. If you only need one sub directory you may use a hidden form field. The field must be named "destination", in lower case. For example, to use a select menu :
<select name="destination">
<option value="images">Images
<option value="text">Text files
<option value="pdf">PDF files
<option value="xls">Excel files
</select>
Each of the folders (images, text, pdf, xls) will then be auto-created when a user selects one to upload files to.
-
How do I collect the sender's email address?
Your form must contain a field named "email" in lowercase. As in :
<input type="Text" name="email" value="">
-
Can I send more than one email notification?
Nope, only one recipient can be defined. If you need to send out more than one notification, consider Attachment Mailer Plus which support multiple recipients.
-
Can I remove the "toemail" field from the default Form?
Yes, you can remove the entire field, in which case the recipient email address is defined from within the script, in the $notify variable.
-
How do I require Users enter a value in some of my form fields?
Please refer to the Requiring Fields chapter of the User Guide for detailed guidelines.
|
|
|