updateSettings API for prefilling fields


  • Thomas Verschoren
    Comment actions Permalink



    Your code is correct but that seems to be a bug in the updateSettings API for the Widget

    Anything other than "fields" gets updated, but if you call fields, or ticketForms >> fields it does not work.


    If you call the code directly in zESettings it works

    <script type="text/javascript">
      window.zESettings = {
        webWidget: {
          fields: [
    id: 'description',
    prefill: {
    '*': 'My field text'
    ] } }; </script>
  • Grant Lonie
    Comment actions Permalink

    Hello, this does not resolve the issue. Doesn't seem to be a way to update prefill for custom fields. See this issue as reference.

  • Joseph May
    Comment actions Permalink

    Thanks for the link to the other issue, Grant. I will be looking into it.


Please sign in to leave a comment.

Powered by Zendesk