• Resolved 8creates

    (@8creates)


    Hi there,

    I’m using your plugin now that you’ve added support for attachments. It’s working really well!

    The only thing that I want to change is the error message when there’s a problem. I want it to say something like ‘the form doesn’t seem to be working. Please email us on …..’

    Is this possible?

    Also is there a way that the plugin can send an error to the wordpress admin email saying it’s broken?

    Many thanks!

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Author pipdig

    (@pipdig)

    Hi @8creates, glad to hear the plugin is working nicely for you!

    I’ve created a new option which will allow you to redirect users when the form fails. This will mean you can setup a new page on your site with any contact details or instructions you like.

    I haven’t pushed the update yet, however you can download it from this link. If you extract this zip into the plugins directory of your site, it will automatically update the plugin.

    After installing, go to ‘Settings > Zendesk Form’ and use the new “Redirect on fail” option to set the URL of the page.

    To test it, you will need to do two things:

    1. Change the API key in your settings to something incorrect. For example, add a “1” to the end (then you can remove it easily afterwards).

    2. Log out of the site, then try using the form. You should be redirected to the URL you set in the new options.

    It is not currently possible to send an email to the admin when the form fails. However we will look into adding that for you in future.

    Let me know if the new version works ok for your requirements.

    Thanks,

    Phil

    Thread Starter 8creates

    (@8creates)

    Hi Phil,

    Apologies for keeping you waiting on this. The redirect worked perfectly, thank you for your help!

    This is a long shot, but my client wants the name field to be passed into a custom field in Zendesk as well as the requester. Is this possible in your plugin?

    Thanks again!

    Plugin Author pipdig

    (@pipdig)

    This is technically possible with some jquery. You could setup a hidden custom field for the name. Then when the form is submitted, the name field could be copied to that hidden field.

    Each custom field has a unique ID in the markup. So you could do something like this example https://stackoverflow.com/questions/5896287/jquery-passing-value-from-one-input-to-another

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Change error message?’ is closed to new replies.