Submit not working with file upload

  • Avya
  • Avya's Avatar Topic Author
  • Offline
  • Expert Boarder
  • Expert Boarder
  • Posts: 99
  • Thank you received: 2

Avya replied the topic: Submit not working with file upload

Hi again,

well, if you disable HTML5 upload it works.

Please, see attached package. On this form there are two hidden inputs ("coupon" & "nombre producto comprado") that receive data from other extension (Hikashop). Disable them if you need for testing.

Best regards.
#235263
  • Avya
  • Avya's Avatar Topic Author
  • Offline
  • Expert Boarder
  • Expert Boarder
  • Posts: 99
  • Thank you received: 2

Avya replied the topic: Submit not working with file upload

P.d.: the file attached...
  • #235264
    Attachments:
    • Posts: 5591
    • Karma: 118
    • Thank you received: 512

    MarioPuco replied the topic: Submit not working with file upload

    Hi,

    Since youre are using HTML5 upload button you should do the following :

    1) DIsable the regular submit button
    2) Create a new custom submit button
    3) Instead ff_validate_submit script use bfDoFlashUpload() so your submit looks like :
    ff_SubmitButton_action(element, action)
    {
        switch (action) {
            case 'click':
    bfDoFlashUpload()
                break;
            default:;
        } // switch
    } // ff_SubmitButton_action

    Afterwards your uploads should arrive with your Admin Email.
    Let me know if it works.

    Regards,
    Mario

    Satisfied with our Support ?
    PayPal Tip
    ===============================================
    Need to renew Pro Support?
    Buy Here!
    ===============================================
    Satisfied?
    Consider a membership!
    ===============================================
    Like us on Facebook
    ===============================================
    #235274
    • Avya
    • Avya's Avatar Topic Author
    • Offline
    • Expert Boarder
    • Expert Boarder
    • Posts: 99
    • Thank you received: 2

    Avya replied the topic: Submit not working with file upload

    I guess it would be easier not to use HTML5 upload... Whats´s the difference between HTML5 and HTML4 upload? (Thank you!)
    #235275
    • Posts: 5591
    • Karma: 118
    • Thank you received: 512

    MarioPuco replied the topic: Submit not working with file upload

    Hey,

    HTML4 is an established standard for developing browser applications and has been in use for more than 10 years. For this reason, HTML4 is compatible with almost all web-browsers while HTML5 is not.

    But Creating a custom Submit button is not a bad solution I'd say. Since everything works the way you designed that way.

    Regards,
    Mario

    Satisfied with our Support ?
    PayPal Tip
    ===============================================
    Need to renew Pro Support?
    Buy Here!
    ===============================================
    Satisfied?
    Consider a membership!
    ===============================================
    Like us on Facebook
    ===============================================
    #235277
    • Avya
    • Avya's Avatar Topic Author
    • Offline
    • Expert Boarder
    • Expert Boarder
    • Posts: 99
    • Thank you received: 2

    Avya replied the topic: Submit not working with file upload

    P.d.: that script, bfDoFlashUpload(), use Flash technology, isn´t it? If so, it wouldn´t be a good idea, I guess...
    #235279
    Moderators: ForumSupporttomeperica
    Time to create page: 0.075 seconds

    Community Reward

    Help us to create new extensions and plugins! With only $5 you help us a lot and get unlimited download access to all of our products, professional support and even more. Get your reward now!

    Read More Here

    News and Updates

    Get informed about new downloads, updates and more in our News and Updates newsletter.

    All Extensions Subscription

    Get 1 year access to all of our current and future products and 1 year of professional support -- 99€

    No support per domain or website installation limits! Includes all of our current and future Joomla!® extensions, Joomla!® templates for the duration of your membership. This means, by purchasing an All Extensions Subscription you'll have it all covered!

    Get it from here

    3rd Party Discount - 25% Off

    We help you to keep your costs under control. If you are a new member and purchased a form building tool from a different form vendor, then you'll get a 25% discount on our subscription plans.

    How to receive the discount:

    Send us a quick email to sales@crosstec.org with a proof of purchase (for example a paypal receipt), await payment instructions and enjoy your membership!

    Community Reward

    Help us to create new extensions and plugins! With only $5 you help us a lot and get unlimited download access to all of our products, professional support and even more. Get your reward now!

    Read More Here