Submit not working with file upload

  • Posts: 5591
  • Karma: 118
  • Thank you received: 512

MarioPuco replied the topic: Submit not working with file upload

Hi,

1) Form Properties > Include submit button > set it to "No"
2) Go to your last from page and Create New element > Type > "Submit Button"
3) Give this button Value, Name, Label > "Submit"
4) Go to Submit button advanced options > ActionScript> Custom > Check "Click" > Press " Create Code framework" and add bfDoFlashUpload() it should look like this :
ff_Submit_action(element, action)
{
    switch (action) {
        case 'click':
bfDoFlashUpload()
            break;
        default:;
    } // switch
} // ff_Submit_action

That's it !

Regards,
Mario

Satisfied with our Support ?
PayPal Tip
===============================================
Need to renew Pro Support?
Buy Here!
===============================================
Satisfied?
Consider a membership!
===============================================
Like us on Facebook
===============================================
#235280
  • 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

Thank you. That script, bfDoFlashUpload(), use Flash technology, isn´t it? If so, it wouldn´t be a good idea...
#235282
  • Posts: 5591
  • Karma: 118
  • Thank you received: 512

MarioPuco replied the topic: Submit not working with file upload

Hi,

Yes the name of the function would suggest that it only works with FlashUpload but that's not true.
In our docs for PayPal button it' stated that :
In case that you are using html5 upload file you should do following:

Instead ff_validate_submit script usage check ACTION CLICK and paste code bellow:

ff_elementName_action(element, action)
{
    switch (action) {
        case 'click':
bfDoFlashUpload()
            break;
        default:;
    } // switch
} // ff_elementName_action
 

crosstec.org/en/support/online-documenta...l-donation-form.html

So it works with HTML5 upload too...

Regards,
Mario

Satisfied with our Support ?
PayPal Tip
===============================================
Need to renew Pro Support?
Buy Here!
===============================================
Satisfied?
Consider a membership!
===============================================
Like us on Facebook
===============================================
#235283
  • 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

Ok, I did just what you said but it doesn´t work. When I clic on "Submit" nothing happens...
#235292
  • Posts: 5591
  • Karma: 118
  • Thank you received: 512

MarioPuco replied the topic: Submit not working with file upload

Hi,

I cannot access your site. None of the codes you sent work now.

Regards,
Mario

Satisfied with our Support ?
PayPal Tip
===============================================
Need to renew Pro Support?
Buy Here!
===============================================
Satisfied?
Consider a membership!
===============================================
Like us on Facebook
===============================================
#235293
  • 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, that´s because I used those codes to test. Here you have two more codes:

This message contains confidential information


Regards.
#235300
Moderators: ForumSupporttomeperica
Time to create page: 0.081 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