Use organization fields and standard ticket fields in contact form | Community
Skip to main content

Use organization fields and standard ticket fields in contact form

  • July 13, 2021
  • 1 reply
  • 0 views

Björn12

Hello I would like to use organization fields from the ticket mask also in the ticket form. In addition, I would like to use the first name and last name and phone number standard fields from the ticket mask in the Zendesk contact form (submit request).

Is there a trick to insert these? Maybe also via Java Script?

Thank you and greetings
Björn

1 reply

Christopher15

Hi @Björn Hering, you might find some of what you're looking for in this article.

You can access certain properties of a logged in user via JavaScript by accessing the user object on the HelpCenter object (e.g. HelpCenter.user).