Support » Plugin: Easy Upload Files During Checkout » clear form on file upload

  • Resolved zauni

    (@zauni)


    Dear Fahad Mahmood,

    I’d like to know if there is an important reason for your Plugin to clear the WooCommerce Formular on the cart-page when adding/uploading a new file.

    As I need to add several other inputs to cart-page this behaviour of your Plugin removes their content as well.

    Would you mind considering an update on this behaviour?

    Looking forward hearing from you.

Viewing 4 replies - 1 through 4 (of 4 total)
  • Plugin Author Fahad Mahmood

    (@fahadmahmood)

    Sure, why not. Please explain me a little more that which portion is being interrupted with my plugin? Maybe something was required earlier and i can reset that now?

    zauni

    (@zauni)

    Great to hear!

    I’d say it’s in your /js/scripts.js on Line 412 where you call ‘resetForm’ and later on line 587.

    After I upload a file with your plugin the input becomes a HTML-Link with the name of the uploaded file. During this action the Form gets resetted.

    Plugin Author Fahad Mahmood

    (@fahadmahmood)

    Make sure that form is getting resetted or being submitted? On line 310 you will see, ajaxSubmit, which is in fact having an option to reset the form. We can make it false, but i don’t know the outcome in different situations so please try to make it false and check if it resolves your issue? In case yes, i will make it false in next release because it’s not something actually required but implemented as default.

    zauni

    (@zauni)

    Thank you.

    I’ll try it later today and let you know how it worked.

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘clear form on file upload’ is closed to new replies.