• Resolved imran3may

    (@imran3may)


    Hello,

    great plugin. However, The submit option of the abovementioned registration form is not working once activating the plugin.

    Support will be appreciated.

    Thanks,
    Imran

    • This topic was modified 5 years, 10 months ago by imran3may.
    • This topic was modified 5 years, 10 months ago by imran3may.

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

Viewing 6 replies - 1 through 6 (of 6 total)
  • Plugin Author Gabe Livan

    (@gabelivan)

    @imran3may Thanks for raising this ticket! Note that Asset CleanUp deals with the front-end optimization, not the backend one. I’ve checked the page and there are no JavaScript errors in the console that will interfere with the functionality. Whatever I fill there, I get the same error (“Duplicate field key in form, please contact site administrator.“).

    To load the page without Asset CleanUp being technically active, you can use this URL: http://tb.academy/registration3/?wpacu_no_load – On both situations, I get the same error. Are you saying the moment you deactivate the plugin, the form gets submitted?

    Thread Starter imran3may

    (@imran3may)

    Hi, Yes you are right, the moment I deactivate the plugin, the form gets submitted. The reason I am trying to use this plugin is to get rid of duplicate field. As soon as this plugin is active, the issue with the duplicate field is resolved. Thanks for your prompt response.

    Plugin Author Gabe Livan

    (@gabelivan)

    @imran3may You’re not getting rid of any duplicated field by using Asset CleanUp. It doesn’t strip INPUT tags. The plugin deals with CSS and JavaScript files that are enqueued. Moreover, there are two errors in the browser’s console, unrelated to Asset CleanUp (active or not, these warnings are still there): “[DOM] Found 2 elements with non-unique id #user_login” and “[DOM] Found 2 elements with non-unique id #user_pass” – It looks like something about the way the form is built is not completely right.

    You said, “As soon as this plugin is active, the issue with the duplicate field is resolved.” – I’m confused. I thought that there are issues when the plugin is active?

    PS: What CSS/JS do you want to unload from that page?

    Thread Starter imran3may

    (@imran3may)

    Dear @gabelivan,

    My website has an LMS package, which comes with Dropkick js. Dropkick js is interfering with the User Registration form which was built using the “User Registration” plugin. The user registration form is showing duplicated dropdown lists and to resolve that issue I have applied several functions and those didn’t work and at last I found your plugin, which is Amazing for sure and apparently it is able to stop the dropkick from loading on that page. However, while stopping the dropkick from loading by using your plugin, the form stops accepting submission.

    Thanks once again,
    Imran

    Plugin Author Gabe Livan

    (@gabelivan)

    @imran3may if you stopped Dropkick.js from loading on the page and form stops accepting the submission, then it’s better to leave it loaded as it was added there for a reason. Asset CleanUp helps you to unload assets that aren’t needed on certain pages, but in this case, it looks like Dropkick.js is required on the registration form. The fact that you see duplicated dropdown lists is a bug that needs to be addressed and you need a developer to investigate the problem.

    Asset CleanUp doesn’t fix bugs like eliminated duplicated elements from a page. If there’s a PHP function that generates the duplicated field names, it needs to be updated. Altering the HTML Source Code after it was generated to clean up duplicated drop-down lists is just ineffective. It’s better to prevent it from loading in the first place.

    My suggestion is to contact the guys behind the LMS package. Whoever built the form in the first place should be able to help you with this.

    Thread Starter imran3may

    (@imran3may)

    Dear @gabelivan

    Thanks once again for your support. Your point makes sense. I will try in a different way to resolve this issue.

    Thanks again,
    Imran

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘Cannot submit registration form’ is closed to new replies.