TOPIC:

Submit not working with file upload 1 year 5 months ago #235280

  • MarioPuco's Avatar
  • MarioPuco
  • Offline
  • Ultimate Breezer
  • Ultimate Breezer
  • Posts: 5958
  • Karma: 119
  • Thanks: 554
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

Please Log in or Create an account to join the conversation.

Last edit: Post by MarioPuco.

Submit not working with file upload 1 year 5 months ago #235282

  • Avya's Avatar Topic Author
  • Avya
  • Offline
  • Senior Breezer
  • Senior Breezer
  • Posts: 101
  • Thanks: 2
Thank you. That script, bfDoFlashUpload(), use Flash technology, isn´t it? If so, it wouldn´t be a good idea...

Please Log in or Create an account to join the conversation.

Submit not working with file upload 1 year 5 months ago #235283

  • MarioPuco's Avatar
  • MarioPuco
  • Offline
  • Ultimate Breezer
  • Ultimate Breezer
  • Posts: 5958
  • Karma: 119
  • Thanks: 554
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

Please Log in or Create an account to join the conversation.

Last edit: Post by MarioPuco.

Submit not working with file upload 1 year 5 months ago #235292

  • Avya's Avatar Topic Author
  • Avya
  • Offline
  • Senior Breezer
  • Senior Breezer
  • Posts: 101
  • Thanks: 2
Ok, I did just what you said but it doesn´t work. When I clic on "Submit" nothing happens...

Please Log in or Create an account to join the conversation.

Submit not working with file upload 1 year 5 months ago #235293

  • MarioPuco's Avatar
  • MarioPuco
  • Offline
  • Ultimate Breezer
  • Ultimate Breezer
  • Posts: 5958
  • Karma: 119
  • Thanks: 554
Hi,

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

Regards,
Mario

Please Log in or Create an account to join the conversation.

Submit not working with file upload 1 year 5 months ago #235300

  • Avya's Avatar Topic Author
  • Avya
  • Offline
  • Senior Breezer
  • Senior Breezer
  • Posts: 101
  • Thanks: 2
Hi, that´s because I used those codes to test. Here you have two more codes:

This message contains confidential information


Regards.

Please Log in or Create an account to join the conversation.

Moderators: ForumSupport
Time to create page: 0.049 seconds

BreezingForms Pro 1.4.7 for WordPress Released!

Available in the membership section.

September Discount!

Massive discounts on all subscriptions!

Get Your Subscription Here

Quick Links

Downloads

BreezingForms

ContentBuilder

BreezingCommerce

Templates

Documentation

BreezingForms

ContentBuilder

BreezingCommerce

Apprendre BreezingForms (French Community)

Apprendre et maîtriser BreezingForms par des tutoriels et exemples, le tout en français

breezingforms.eddy-vh.com

Questions et réponses sur les forums de l'AFUJ

AFUJ

Special Offer

Summer Sale! All subscriptions at a special price!

Includes prio support, all of our current and future Joomla!® extensions and Joomla!® templates for the duration of your membership.

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!