How to prefill the description field in the webWidget (classic) inside a custom function

4 Comentarios

  • Greg Katechis
    Zendesk Developer Advocacy

    Hi there! I saw that you had an open ticket regarding this issue that had some progress from where you were when you initially posted this. Regarding the description, I'm guessing that you found the correct setting to use was fields in addition to prefill. If you need to update settings after the widget has already loaded, you can also use the updateSettings command.

    Finally, the reason that this shows up for the offline form is that ticket fields are not available options for chat and thus the description is not available either. Could you share with me what you're specifically looking to update on the chat form?

    1
  • Black Belt Bots

    Oh there is also update settings can you share some code to do this??

    0
  • Greg Katechis
    Zendesk Developer Advocacy
    Thanks for the screenshot! This is called the pre-chat form and this does not have an available setting in which you could prefill that. The available settings for the pre-chat form are limited to the greeting. 
     
    As for the code example in the updateSettings command, there is a snippet in the link that I previously shared with you!
    0
  • Black Belt Bots

    Can I turn the pre-chat form off?

    would that solve the problem?

    I need to send data to the agent before the chat starts. Can the offline form be on the whole time for example?

    Is there any other solution to this problem?

    0

Iniciar sesión para dejar un comentario.

Tecnología de Zendesk