Last active
November 8, 2017 20:42
-
-
Save rruhlen/9a1f3f625a12c8553d78200f59f07a79 to your computer and use it in GitHub Desktop.
Attach multiple files to a Desk email form. Input fields must be generated on the fly and can't be hard-coded on the page.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!-- add to desk-external-variables div --> | |
<div id="max_number_attachments">{{desk.system.max_attachments}}</div> | |
<div id="system-snippets-add_attachment">{{system.snippets.add_attachment}}</div> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<div class="desk_file_upload2"> | |
<div style="clear:left;"> | |
<input class="up" name="case_attachment[attachment]" size="84" type="file"> | |
</div> | |
<div style="clear:left;"> | |
<input class="up" name="case_attachment2[attachment]" size="84" type="file"> | |
</div> | |
<div style="clear:left;"> | |
<input class="up" name="case_attachment3[attachment]" size="84" type="file"> | |
</div> | |
</div> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment