[memb_upload_filebox]

Version Added 2.44

Summary

This shortcode allows your visitors to upload files to the Infusionsoft File Box.

Shortcode Examples

Simple File Upload:

[memb_upload_filebox]

To upload and rename a file by topic and date

[memb_upload_filebox rename="Loan Document - {{contact.firstname}} {{contact.lastname}} - {{date.Y-m-d}}"]

Simple File Upload, and apply tag on success

[memb_upload_filebox success_tags=123]

 

Shortcode Parameters

button_text:  The text to display on the upload button.  Defaults to “Upload”

contact_id:  By default, this shortcode uploads the file to the filebox of the currently logged in user.  You can override this by setting the contact_id parameter accordingly.

all_tags: Checks if the user has all the tags specified before displaying content.  This attribute is required to evaluate the condition.

error_msg:  The message to display if there are any errors during the upload process.  The default text is “Your file upload failed.”

failure_url: The URL that is redirected to on unsuccessful file upload. Defaults to current URL.

failure_actionsets:  Actionsets to run if the upload fails.  There are no default actionsets.

failure_goals:  Campaign Builder API Goals to run if the upload fails.  There are no default goals.

failure_tags:  Tags to set if the upload fails.  There are no default tags.  To remove a tag on failure, use a negative tag number.

maxsize:  The maximum size of the file in MB or KB. Example: maxsize=5M (for 5MB) or maxsize=1000K (for 1000 Kilobyte). This settings defaults to, and cannot exceed 10MB, the limit of the Filebox.

multiple:  Whether to allow multiple files to be uploaded at once.  Defaults to false.

rename:  The pattern to use when renaming files.  Defaults to nothing, which will result in the uploaded file not being renamed.

success_url: The URL that is redirected to on successful file upload. Defaults to current URL.

success_actionsets:  Actionsets to run if any uploads are successful. There are no default actionsets.

success_goals:  Campaign Builder API Goals to run if any uploads are successful. There are no default goals.

success_msg: The message to display if there any if the upload succeeds. The default text is “Your file upload completed.”

success_tags:  Tags to set if the upload succeeds. There are no default tags. To remove a tag on success, use a negative tag number.

Shortcode Attributes

Conditional: No (?)
Nestable: No (?)
Accepts formatting: No (?)
Capturable: No (?)

Additional Information

You can also use the [memb_upload_message_filebox] shortcode to display a success or error message you set within this shortcode. The shortcode can be placed where you want the message to be displayed.

Uploading multiple files is supported. If you are doing a multiple file upload, and any single file fails, then it will do the failure actions/redirect.

The success actions/redirect are only done if all files in the upload are successful.

Memberium Membership Site Workshop
October 10th-12th, 2018 in Phoenix, Arizona

Get your Memberium site and Infusionsoft app fully implemented in 3 days. Save $200 OFF your ticket until the end of Monday, September 17th!

Click Here for Early Bird Pricing