Form Help

TOPIC:

Validation errors at bottom of the form. Possible? 2 years 4 months ago #253140

  • Topic Author
  • Scolex
  • Offline
  • New Member
  • New Member
  • Registered
  • Posts: 12
  • Thanks: 0
Hi folks,
is there an option to display the validation errors at the bottom of the form, right before or after the send-button?

Right now, the errors are at the top and because the form is pretty high, the users doens't see the errors without scrolling.

Best regards
Attachments:

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

Validation errors at bottom of the form. Possible? 2 years 4 months ago #253141

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

this is default errors message, but you can use balloon error (message is above each field), or Sweetalerts on errors (popup with message).
For this go to your form->Advanced->disable Use default errors and enable Use Sweetalerts on errors or Use balloon errors

Regards,
Tihana

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

Validation errors at bottom of the form. Possible? 2 years 4 months ago #253162

  • Topic Author
  • Scolex
  • Offline
  • New Member
  • New Member
  • Registered
  • Posts: 12
  • Thanks: 0
Thanks, but thats not what I'm looking for. So there is no option for this and I guees I could do this by editing the template!?

But it's fine for me like this so far.

Regards

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

Validation errors at bottom of the form. Possible? 2 years 4 months ago #253164

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

ok, I found a solution for this.
I assume that you are using Bootstrap theme engine.
Then go to:
joomla_root\administrator\components\com_breezingforms\libraries\crosstec\classes\BFQuickModeBootstrap.php
In line 555 you will see this:
if(!$this->useErrorAlerts){
					echo '<div class="bfErrorMessage '.$this->bsClass('alert').' '.$this->bsClass('alert-error').'" style="display:none"></div>'."\n";
				}
This is the code that renders the error messages. Cut it from there and paste it after the first curly bracket in line 449:
}
echo '<noscript>Please turn on javascript to submit your data. Thank you!</noscript>'."\n";
		JFactory::getDocument()->addScriptDeclaration('//-->');
	}

This should be the code after this change:
}
if(!$this->useErrorAlerts){
					echo '<div class="bfErrorMessage '.$this->bsClass('alert').' '.$this->bsClass('alert-error').'" style="display:none"></div>'."\n";
				}
		echo '<noscript>Please turn on javascript to submit your data. Thank you!</noscript>'."\n";
		JFactory::getDocument()->addScriptDeclaration('//-->');
	}

If you need more help, please let me know

Regards,
Tihana

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

  • Page:
  • 1
Moderators: ForumSupport
Time to create page: 0.054 seconds

Support Chat

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

After joining, please enter the Crosstec Area and use the #crosstec-support or #crosstec-general channels.

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!