The ability to add multiple attachments when creating a ticket from the
SelfService interface was requested from some of our users. I copied
the chunk of attachment code from share/html/Ticket/Create.html into the
SelfService Create.html file, and the “Add More” button shows up…but
when I click it, it submits the ticket instead of letting me add an
additional attachment. Any tips?
Original snippet from Create.html:
Replaced with:
% foreach my $attach_name (keys %{$session{'Attachments'}}) { <%$attach_name%>
% } # end of foreach