I'm currently experiencing the issue that Zendesk is redirected end users to the My Activities page even if the required fields are left blank.
I was checking the backend and could see that no tickets were created. But no error message appeared that required fields are empty and redirected users to the My Activities page.
Previously, I was trying to implement said code from article https://support.zendesk.com/hc/fr/community/posts/4409515169946-Requiring-a-ticket-attachment-if-a-particular-dropdown-option-is-selected
I suspected that this was the issue, so I've removed the code again. But I'm still getting the same issue.
I am trying to force end users to provide attachments if they choose a specific value in a drop down field.