Form Help

TOPIC:

Validation errors at bottom of the form. Possible? 1 year 5 months ago #253140

  • Topic Author
  • Scolex
  • Offline
  • Fresh Breezer
  • Fresh Breezer
  • 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? 1 year 5 months ago #253141

  • tihana.krivic's Avatar
  • tihana.krivic
  • Offline
  • Moderator
  • Moderator
  • Posts: 10535
  • Karma: 3
  • Thanks: 705
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? 1 year 5 months ago #253162

  • Topic Author
  • Scolex
  • Offline
  • Fresh Breezer
  • Fresh Breezer
  • 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? 1 year 5 months ago #253164

  • tihana.krivic's Avatar
  • tihana.krivic
  • Offline
  • Moderator
  • Moderator
  • Posts: 10535
  • Karma: 3
  • Thanks: 705
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.048 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!