Support » Plugin: Ninja Forms Contact Form - The Drag and Drop Form Builder for WordPress » Something strange “–>” in form

  • Resolved mkazmierczak

    (@mkazmierczak)


    There is something wrong with this form after last update. I think there was a comment before.

    The page I need help with: [log in to see the link]

Viewing 8 replies - 1 through 8 (of 8 total)
  • I can confirm this also!

    Plugin Contributor ericwindhamsd

    (@ericwindhamsd)

    @mkazmierczak @delanet

    Can you guys put in a support ticket here:

    https://ninjaforms.com/contact/

    And let us know here the ticket number and we’ll take a look. Sorry for the inconvenience

    Eric Windham

    For me the –> is caused by Autoptimize plugin. When active it shows

    –>
    Fields marked with an * are required

    this:

    <!--<form>-->
    	<div>
    		<div class="nf-before-form-content"></div>
    		<div class="nf-form-content {{{ data.element_class }}}"></div>
    		<div class="nf-after-form-content"></div>
    	</div>
    <!--</form>-->

    is probably freaking out Autoptimize’s HTML minifier (although I can’t reproduce when testing that HTML). Maybe disable HTML minification OR tick the “keep HTML comments”-option until this is fixed in Ninjaforms?

    Thread Starter mkazmierczak

    (@mkazmierczak)

    That’s right. It is Autoptimize Plugin. Thank you for all responses!

    Keep HTML comments? ticking this box, no change.
    The only thing working here is un tick Optimise HTML Code?

    Its this – – & g t;

    • This reply was modified 5 years, 7 months ago by vicm404.
    • This reply was modified 5 years, 7 months ago by vicm404.
    • This reply was modified 5 years, 7 months ago by vicm404.
    Plugin Contributor ericwindhamsd

    (@ericwindhamsd)

    Hi Everyone

    Thanks, for the responses!

    We are removing some of those comments to try and alleviate the issue. Hopefully we’ll have an update ready by the end of the week. We have a few other things we’re working on that we’d like to bundle into one release vs. releasing several small updates.

    Eric Windham

    Plugin Contributor Justin McElhaney

    (@jmcelhaney)

    This issue has now been fixed. Please update to the latest version of Ninja Forms.

Viewing 8 replies - 1 through 8 (of 8 total)
  • The topic ‘Something strange “–>” in form’ is closed to new replies.