• Resolved TJ

    (@trijammer)


    Any page with an Advanced Forms form gets flooded with ACF scripts and styles: jQuery UI, sliders, polyfills, i18n scripts, plus ACF & ACF Pro versions of the same scripts and files. The plugin docs have a suggestion to reduce this (https://advancedforms.github.io/guides/decreasing-number-of-scripts-and-styles/), but that still leaves around 20 extra script & style files loading with every form.

    Dequeueing and deregistering the remaining scripts from their IDs does remove them, but leads to ACF JS errors popping up in the console due to other ACF inline code injections relating to these dependencies (even removing dashicons results in errors).

    I’m surprised the plugin is just pushing all the ACF dependencies out to the front end of the site, instead of handling this more gracefully.

    Is there any way we can get simple clean form output with this plugin, or have I just wasted US$79 on a licence for something that bloats sites with junk? (Yes I know there’s email support for purchasers, but I’ve had no acknowledgement of my email after 24 hours).

Viewing 5 replies - 1 through 5 (of 5 total)
  • Plugin Author philkurth

    (@philkurth)

    Hi @trijammer,

    As per my email reply, Advanced Forms renders and ACF field group on the front end and in order for ACF to function, it needs those scripts and styles. Some may be able to be disabled where the fields aren’t used but for the most part, it comes with risks as you’ve found with errors.

    ACF has a lot of complexity to it and if we want to render ACF field groups on the front end, we do (unfortunately) get a lot of assets that go along with it.

    If you would like a refund, let me know in your response email and I’ll give you a refund as per our refund policy.

    Also note that I’m one person providing support & development of four plugins so when you write to me, there may be some time before I can get back to you depending on the current support and work load.

    Cheers,
    Phil

    Thread Starter TJ

    (@trijammer)

    Thanks for the reply Phil, both here and via email. I was in a hurry for a solution and pulled the the trigger on the purchase without giving it a proper test – that’s on me, so apologies for my frustration & impatience.

    I dropped a note here in the hope that someone else in the community had found a way around this, but it seems that there’s no abstraction from ACF so there’s no avoiding it.

    It’d be ideal if the plugin docs clearly stated that such a large number of ACF assets are unavoidable to output due to this plugin’s architecture. I think that’d save some grief and buyer remorse. On the details, I’ll come back to you on email.

    Cheers

    Moderator Jan Dembowski

    (@jdembowski)

    Forum Moderator and Brute Squad

    Is there any way we can get simple clean form output with this plugin, or have I just wasted US$79 on a licence for something that bloats sites with junk? (Yes I know there’s email support for purchasers, but I’ve had no acknowledgement of my email after 24 hours).

    The developer can’t have a conversation with customers here. If they do then they can get into trouble on this site.

    For pro or commercial product support please contact the developer directly on their site. This includes any pre-sales or refunds topics as well.

    https://hookturn.io/contact/

    As the developer is aware, commercial products are not supported in these forums. I am sure they will have no problem supporting you there.

    Thread Starter TJ

    (@trijammer)

    Hi Jan. I appreciate that, though this is a case where the issue experienced affects both the free and pro versions identically. I have the free version installed locally and still need support relating to that, so figured it’s still valid to post here.

    Moderator Jan Dembowski

    (@jdembowski)

    Forum Moderator and Brute Squad

    It may be valid but the developer still can’t help you here. The would risk getting into real trouble if they did. No one can support customers here as that’s not what these community forum are for.

    As their customer you are entitled to marquee level service from them as that’s part of what you paid them for. Yes, it may be an issue for this plugin but the prohibition on the developer still exists.

    I am sure the developer would have no problem supporting you there. If you do get a solution then there is nothing stopping you from sharing it in this topic.

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Removing ACF style & script junk’ is closed to new replies.