TOPIC:

Upload 7 months 1 week ago #251952

  • Sitar
  • Offline
  • Junior Breezer
  • Junior Breezer
  • Posts: 26
  • Thanks: 0
Hi,
we use php 7.4.12
First we will see if the cache setting saves this situation . If it will be the same, we will switch to normal upload.

Best regards
Sandra

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

Upload 7 months 1 week ago #251957

  • Topic Author
  • Luisserafim
  • Offline
  • Expert Breezer
  • Expert Breezer
  • Posts: 160
  • Thanks: 0
Hi!

How can I force 1 file to be uploaded?

"flashupload not empty" does not work.

Please help, this is the last question, I think :)

Best regards

P.S. Using php 7.4

Can I stil use this code?

function ff_sem03_validation(element, message)
{
var children = jQuery('#bfFlashFileQueue4550').children();
var len = Number(children.length);
if (len > 1 || len < 1) {
if (message=='') message = element.name+" faild in my test.\n"
ff_validationFocus(element.name);
return message;
} // if
return '';
} // ff_sem03_validation

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

Last edit: Post by Luisserafim.

Upload 7 months 1 week ago #251958

  • tihana.krivic's Avatar
  • tihana.krivic
  • Offline
  • Moderator
  • Moderator
  • Posts: 6455
  • Karma: 3
  • Thanks: 456
Hi,

give me some time I will test this.
For standard upload, I need to change something

Regards,
Tihana
The following user(s) said Thank You: Luisserafim

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

Upload 7 months 1 week ago #251959

  • Topic Author
  • Luisserafim
  • Offline
  • Expert Breezer
  • Expert Breezer
  • Posts: 160
  • Thanks: 0
Please just 1 file. 2 or more or zero are not possible.

Tx in advance

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

Upload 7 months 1 week ago #251960

  • tihana.krivic's Avatar
  • tihana.krivic
  • Offline
  • Moderator
  • Moderator
  • Posts: 6455
  • Karma: 3
  • Thanks: 456
Hi Luis,

please test this:
function ff_nameofyourupload_validation(element, message)
{
var children = jQuery('#ff_elem641').val();
if (children> 1 || children < 1) {
if (message=='') message = element.name+" faild in my test.\n"
ff_validationFocus(element.name);
return message;
} // if
return '';
} // ff_nameofyourupload_validation
Please replace nameofyourupload with name of your upload file (not title).
And #ff_elem641 with ID of your upload file (right click to your browser->find ID for file upload in Console)

Regards,
Tihana

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

Upload 7 months 1 week ago #251961

  • Topic Author
  • Luisserafim
  • Offline
  • Expert Breezer
  • Expert Breezer
  • Posts: 160
  • Thanks: 0
it doesnt work, blocks the form

ops

i did var children = jQuery('#bfFlashFileQueue4546')

Is this valid?

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

Last edit: Post by Luisserafim.
Time to create page: 0.053 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!