Toggled OFF elements being validated upon send (error after BF update)

  • Joe Cool
  • Joe Cool's Avatar Topic Author
  • Offline
  • Senior Boarder
  • Senior Boarder
  • Posts: 50
  • Thank you received: 0

Joe Cool created the topic: Toggled OFF elements being validated upon send (error after BF update)

I have forms that used to work for years. After the last BF update my forms do not submit anymore because they validate email fields which are switched off. As the user can't see these fields he can't enter anything and so he can't send.

bfToggleFields('off', 'element', 'p2mail', bfDeactivateField);
bfToggleFields('off', 'element', 'p3mail', bfDeactivateField);
bfToggleFields('off', 'element', 'p4mail', bfDeactivateField);
bfToggleFields('off', 'element', 'p5mail', bfDeactivateField);

Although all email fields are toggled off the form can not be sent!

If SIN= "true" goto HELL;
else goto HEAVEN;
#230739
  • mihaela
  • Away
  • Administrator
  • Administrator
  • Posts: 3109
  • Karma: 104
  • Thank you received: 409

mihaela replied the topic: Toggled OFF elements being validated upon send (error after BF update)

Hello,

I am not sure what could be causing it to behave this way since validation rules shouldn't be applied to turned off fields.
Is turning the email fields on and off working properly?
You can try to delete one email field, recreate it and rewrite Javascript visibility rules, that might solve the issue.

Also, please send me a link to your site so I can take a look at your form.

Let me know the result.

Regards,

Mihaela
#230750
Moderators: ForumSupporttomeperica
Time to create page: 0.059 seconds

New Icon Packs Category!

Crosstec is now offering icon packs.

If you are a paying subscriber, icon packs are automatically added to your account.

Check out our icon packs page!

Live Support Chat Opened!

Join our Discord chat here to receive live support and talk directly to the team!

Summer Sale!

50% discount on all of our extension subscription plans, templates and icon packs!

Get Your Subscription 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 for just 49! (Summer Sale)

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!

Live Support Chat Opened!

Join our Discord chat here to receive live support and talk directly to the team!

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