iOS Chat SDK v2 pre-fill offline form

5 Comments

  • Greg - Community Manager
    Comment actions Permalink

    Hi Iurii Mozharovskyi! This is definitely configurable, you can see how to do that in these docs. Let us know if you run into any issues with this!

    0
  • Endy Silveira
    Comment actions Permalink

    Hi Greg - Community Manager,

    Thanks for linking the docs, but it explains only how to send an offline message programmatically, not how to pre-fill the info and avoid the user inputting it again.

     

    Will the form use the Visitor Info if I set the form configuration like the following?

    chatConfiguration.preChatFormConfiguration = ChatFormConfiguration(name: .hidden, email: .hidden, phoneNumber: .optional, department: .hidden)

    1
  • Gabriel
    Comment actions Permalink

    I have the same issue, we are providing the user info, but when the offline form is being shown, it asks for the name and email when it shouldn't.

    We are also configuring the preChatFormConfiguration with `name: .hidden, email: .hidden, phoneNumber: .hidden, department: .required` but it is still asking for name and email...

    0
  • Gabriel
    Comment actions Permalink

    Hi Greg - Community Manager, can we have any help with this issue?

    0
  • Emily Gasca
    Comment actions Permalink

    Hi Greg - Community Manager, we are also having problems with this. We require accurate user information for debugging, as opposed to user input. Any help would be greatly appreciated! Thanks tons.

    0

Please sign in to leave a comment.

Powered by Zendesk