PLEASE NOTE: These forums are no longer utilized and are provided as an archive for informational purposes only. All support issues will be handled via email using our support ticket system. For more detailed information on this change, please see this blog post.

Routing causing javascript error

  1. I am trying to set up Routing on a simple form with a drop-down box.

    So far I have one rule:

    Send to (email address) if (Nearest Branch) is (Albourne).

    When I save, and click the + to add another line, nothing happens but a JavaScript error:
    Uncaught TypeError: Object 213 has no method 'replace' line 444 admin.php

    I need this working, so please let me know what is wrong!

    Using latest versions of Gravity Forms and WordPress.

    Posted 7 years ago on Friday November 23, 2012 | Permalink
  2. I've narrowed this down a bit, it only happens when I am using the Gravity Forms + Custom Post Types plugin.

    I set the dropdown to be pulled from a custom post type, which caused this error. Now even when I change the dropdown to be a normal dropdown, it still causes the error. I think I'll have to delete it and re-enter it.

    Is there any way to fix it so this works together? Are there any plans for an official Custom Post Types implementation as using this plugin is buggy?

    Posted 7 years ago on Friday November 23, 2012 | Permalink
  3. David Peralty
    Administrator

    I don't know the CPT add-on very well, and as such, I can't say why it would effect routing. We are definitely keeping an eye on Custom Post Types as something we would like to build functionality in for, but currently our team of half a dozen developers are all working on add-ons that don't have any relation to that need.

    Have you contacted the author of the add-on?

    Posted 7 years ago on Friday November 23, 2012 | Permalink