i4w_uploadfile

Usage:

This shortcode provides a simple mechanism for a subscriber to upload a file to his/her filebox in Infusionsoft and run event-based actions based on the outcome of the upload attempt.

Please note that these files, once uploaded, are not publicly available. They are available only to users (not contacts) within your Infusionsoft application.

This shortcode does NOT supports conditional branching with [ELSE_uploadfile].

Shortcode nesting is NOT supported.

Parameters:

failmessage he message to display if the upload failed for any reason.
Required: no.
successmessage The message to display if the upload succeeded.
Required: yes.
uploadlabel An optional label to display before the file selection input field.
Required: yes.
submit_btn Text to display in the submit button.
Required: yes.

Example:

[i4w_uploadfile]
[i4w_uploadfile failmessage='The file could not be uploaded']
[i4w_uploadfile failmessage='The file could not be uploaded' successmessage='Great! The file was uploaded!']
[i4w_uploadfile failmessage='The file could not be uploaded' successmessage='Great! The file was uploaded!' uploadlabel='File: ' submit_btn='Upload']
[i4w_uploadfile failmessage='The file could not be uploaded' successmessage='Great! The file was uploaded!' uploadlabel='File: ' submit_btn='Upload']
  Display this text before the upload
  [on_success]
    [i4w_actionset actid='123' autorun='1']
  [on_error]
    [i4w_actionset actid='234' autorun='1']
[/i4w_uploadfile]

API:

There is no API function equivalent for this shortcode.