Error handling in Guide request forms

Answered

1 Comments

  • Greg Katechis
    Zendesk Developer Advocacy

    Hi Carlos! Requests that are sent from our ticket form have to go upstream for validation. As such, we don't expose the errors in the response. That said, here's an idea that you could test out...

    For each of the fields that you need to validate on the form, find their unique class (see screenshot) and build out the validating regex to meet your criteria. If any of the fields do not meet your criteria, keep the submit button in a disabled state. Once the criteria are met, remove the disabled attribute from the submit button.

    This definitely isn't elegant, but the nature of the way we handle requests here makes this difficult to otherwise work through. If anyone else in the community has a more elegant solution, please share it with us!

    1

Please sign in to leave a comment.

Powered by Zendesk