TOPIC:

Using BF Module with Joomla loadmodule stops validation from working 1 year 4 months ago #263242

  • tihana.krivic's Avatar
  • tihana.krivic
  • Offline
  • Moderator
  • Moderator
  • Registered
  • Posts: 12079
  • Thanks: 778
Hi,

Please test it now.

You used this code in some elements (element-Advacned-Init script-Page entry):
function ff_ApplicationForm_init()
{
 jQuery("html, body").animate({ scrollTop: 
       jQuery('#ff_formdiv2').offset().top }, 1000);
} // ff_ApplicationForm_init
I added this code in form-Advacned-More options-Scripts-Initalization script, because if you are using some code in elemenet-Advacned-Init script it should be like:
function ff_nameofelement_init()
{
 //yourcodehere
} // ff_nameofelement_init
Where nameofelement is name of each element (not title).
ApplicationForm is form name and this can be used in form's initialization script.

I hope I exaplained it well

Regards,
Tihana

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

Using BF Module with Joomla loadmodule stops validation from working 1 year 4 months ago #263243

  • uglyeoin's Avatar Topic Author
  • uglyeoin
  • Offline
  • Premium Member
  • Premium Member
  • Registered
  • Posts: 315
  • Thanks: 3
Ok but I still don't get any validation when I try the way you have tried.

Incidentally, you have put this in the advanced form options
function ff_ApplicationForm_init()
{
 jQuery("html, body").animate({ scrollTop: 
       jQuery('#ff_formdiv2').offset().top }, 1000);
} // ff_ApplicationForm_init

This is still using the name of the application form which is incorrect right?

What I'm trying to achieve after copying some other answer on here, is that when I change page the form is still on screen.

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

Using BF Module with Joomla loadmodule stops validation from working 1 year 4 months ago #263244

  • tihana.krivic's Avatar
  • tihana.krivic
  • Offline
  • Moderator
  • Moderator
  • Registered
  • Posts: 12079
  • Thanks: 778
Hi,

this is correct because this is in advanced form options.

But this is not correct when it is put in element advanced init script like:
function ff_ApplicationForm_init()
{
 jQuery("html, body").animate({ scrollTop: 
       jQuery('#ff_formdiv2').offset().top }, 1000);
} // ff_ApplicationForm_init
It should be there like:
function ff_nameofelement_init()
{
 jQuery("html, body").animate({ scrollTop: 
       jQuery('#ff_formdiv2').offset().top }, 1000);
} // ff_nameofelement_init

Also, you don't use any validation here. The validation should be in each element-Properties-Validation.

Regards,
Tihana

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

Last edit: Post by tihana.krivic.

Using BF Module with Joomla loadmodule stops validation from working 1 year 4 months ago #263246

  • uglyeoin's Avatar Topic Author
  • uglyeoin
  • Offline
  • Premium Member
  • Premium Member
  • Registered
  • Posts: 315
  • Thanks: 3
ah I see. So the problem is validation still doesn't work.

And the secondary problem is the animation happens on page load not on changing page in breezing forms.

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

Using BF Module with Joomla loadmodule stops validation from working 1 year 4 months ago #263254

  • tihana.krivic's Avatar
  • tihana.krivic
  • Offline
  • Moderator
  • Moderator
  • Registered
  • Posts: 12079
  • Thanks: 778
Hi,

I checked it on your backend, and there is still no validation.
Validation should be in each element->Properties->Validation->you can make a Custom validation, or select from Library.

Please add it.
If you have a problem, I can add a validation for you :)

Regards,
Tihana

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

Using BF Module with Joomla loadmodule stops validation from working 1 year 4 months ago #263283

  • uglyeoin's Avatar Topic Author
  • uglyeoin
  • Offline
  • Premium Member
  • Premium Member
  • Registered
  • Posts: 315
  • Thanks: 3
I can add validation, but the form stops going to the next page. Then the client starts complaining that there's only one page on the form. So to get the clients approval I turned off validation.

I've added it back again now just for one field so we can test.

So validation now works but whenever you click to go the page it takes you to the form immediately. We don't want that behaviour on page load, only on change page.

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

Last edit: Post by uglyeoin.
Moderators: ForumSupport
Time to create page: 0.060 seconds

Support Discord

Join our Discord and enter the Crosstec channels for live-support, chat forums and directly interacting with the community!

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

Subscribe to news and updates!

Special Offer

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!

Live Support Chat Opened!

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