Custom Form - add attachement section

Answered

9 Comments

  • Holly
    Zendesk Customer Care

    Hi Bonaliza! If you're looking to allow customers to add an attachment when creating a ticket through the form on your "Submit a request" page, "Customers can attach files" must be enabled in the "Attachments" section of Admin > Settings > Tickets in the Support interface. Once this is enabled, end users will see this option — you do not need to add a ticket field for it to appear.

    When a customer attaches a file with their ticket submission, you will see the attachment included with their ticket when viewing it as an agent.

    I hope this helps! Please let us know if you have any questions or if you had something else in mind. Thanks!

    Customer Advocate

    -1
  • Jay F

    @... Thanks! So how do I add the attachment field to the custom form via api?

    0
  • Tipene Hughes
    Zendesk Developer Advocacy

    Hi Jay F

    As long as you've enabled attachments, the field to submit an attachment should display on your custom form by default.

    Let me know if you have any issues!

    Tipene

    -1
  • Jay F

    Hi Tipene Hughes

    We created a custom form here: https://ticket-form-influencers.herokuapp.com/create_ticket

    How do we add the attachment field?

    0
  • Tipene Hughes
    Zendesk Developer Advocacy

    Hi Jay F,

    Apologies, I assumed you were working with a custom ticket form directly in the help center. Here's an article which goes in to a bit more detail on how to add attachments to tickets via API - I think this should be more suitable for your use case:

    I hope this helps. Feel free to reach out with any questions!

    Tipene

    0
  • Jay F

    Tipene Hughes

    Thank you so much!

    0
  • Ian Marston

    I have the attachments enabled

    However, i wondered if anyone knew how i can make it required when submitting a form?

    Example:

    Customer reports a damaged product, visits our helpcentre and selects the damaged items form

    Before the ticket can be submitted by the customer, they need to attach an image

    0
  • Brett Bowser
    Zendesk Community Manager
    Hey Ian,

    I'd recommend taking a look at the following user tip: Requiring a ticket attachment if a particular dropdown option is selected
     
    You may be able to use the custom code shared to set this up in your own Guide theme.

    I hope this helps!
    0
  • Leung Edward

    Hi there,

    I have a few questions about attachments in "Submit a request"
    1. How to edit the title of the default attachment
    2. How to duplicate one or more attachments?
    3. Should I add some command at the very bottom at the page "new_request_page.hbs"?

    Thanks.

    2

Please sign in to leave a comment.

Powered by Zendesk