Welcome, Guest

Back Button, asks for fields validation
(1 viewing) (1) Guest
  • Page:
  • 1

TOPIC: Back Button, asks for fields validation

Back Button, asks for fields validation 2 years, 6 months ago #9727

Howdy again,

I am breaking down my form in different pages, I'm using Quick Mode.

The back button checks for validation:

Please enter How did you hear about us?
Please enter the Animation School to attended, if negative... enter "none"
Please enter a Date Of Graduation
Please enter the position you are applying for
Please enter the years of experience



Is the back button supposed to check for validation?

If so, can I only display the NEXT button and not the back button?


Thanks for your time!
  • pochat
  • OFFLINE
  • Fresh Boarder
  • Posts: 9
  • Karma: 0

Re: Back Button, asks for fields validation 2 years, 6 months ago #9743

Hi,

it can be deactivated with a little hack. Open the file administrator/components/com_facileforms/libraries/crosstec/classes/BFQuickMode.php

Find around line 987 this:

echo '<input class="bfPrevButton'.$this->fadingClass.'" type="submit" onclick="ff_validate_prevpage(this, \'click\');populateSummarizers();" value="'.htmlentities(trim($this->rootMdata['pagingPrevLabel']), ENT_QUOTES, 'UTF-8').'"/>'."\n";


and change to this


echo '<input class="bfPrevButton'.$this->fadingClass.'" type="submit" onclick="populateSummarizers();" value="'.htmlentities(trim($this->rootMdata['pagingPrevLabel']), ENT_QUOTES, 'UTF-8').'"/>'."\n";


Then the back-validation is gone.
===============================================
Satisfied?
Consider a membership!
===============================================
Like us on Facebook
===============================================
Follow us on Twitter
===============================================

Re: Back Button, asks for fields validation 2 years, 6 months ago #9960

Hello there, I just tried the suggested change and now the page is not navigating to the previous page. I've re-confirmed that I changed the required section (it was line 1082 in my file).

Thanks,
  • tsem
  • OFFLINE
  • Fresh Boarder
  • Posts: 5
  • Karma: 0

Re: Back Button, asks for fields validation 2 years, 2 months ago #12885

Hi,

I had this problem too. I tried suggested hack but indeed no action at all anymore. After some investigation next hack works:

Open the file: administrator/components/com_facileforms/libraries/crosstec/classes/BFQuickMode.php with me @line 1180

changed original code:

echo '<input class="bfPrevButton'.$this->fadingClass.'" type="submit" onclick="ff_validate_prevpage(this, \'click\');populateSummarizers();" value="'.htmlentities(trim($this->rootMdata['pagingPrevLabel']), ENT_QUOTES, 'UTF-8').'"/>'."\n";


into:
echo '<button class="bfPrevButton'.$this->fadingClass.'" type="submit" onclick="if(ff_currentpage>1){ff_switchpage(ff_currentpage-1);}populateSummarizers();" value="'.htmlentities(trim($this->rootMdata['pagingPrevLabel']), ENT_QUOTES, 'UTF-8').'"><span>'.htmlentities(trim($this->rootMdata['pagingPrevLabel']), ENT_QUOTES, 'UTF-8').'</span></button>'."\n";


Regards
Benno
  • klipper
  • OFFLINE
  • Fresh Boarder
  • Posts: 16
  • Karma: 2

Re: Back Button, asks for fields validation 1 year, 4 months ago #23377

FYI The location of this file has changed. It is now found at:


administrator/components/com_breezingforms/libraries/crosstec/classes/BFQuickMode.php
  • davshirley
  • OFFLINE
  • Fresh Boarder
  • Posts: 2
  • Karma: 0

Re: Back Button, asks for fields validation 1 year, 4 months ago #23378

FYI, the file location has changed. It is now at:


administrator/components/com_breezingforms/libraries/crosstec/classes/BFQuickMode.php
  • davshirley
  • OFFLINE
  • Fresh Boarder
  • Posts: 2
  • Karma: 0
  • Page:
  • 1
Moderators: TheMuffinMan, ForumSupport
Time to create page: 1.21 seconds

Facebook Discount - 40% Off!

Fans of our Facebook page here are entitled to get a 1-year-subscription for the price of a 6-months!

Steps to take:

  • Become a fan on Facebook (Like) here
  • Purchase a 6-months-subscription from here
  • Write a quick email to This email address is being protected from spambots. You need JavaScript enabled to view it. with your username and prove of your like and we'll upgrade to the 1-year-subscription

Joomla!® Forms Discount - 40% Off!

Already purchased a forms extension from a different vendor but your requirements changed and now you need a forms extension that is capable of more than just the standards? We help you to keep the costs for a change under control: Get a 40% discount on our professional membership plan! -- meaning timely unlimited access to all current and future commercial extensions, breezingforms themes & apps and Joomla!® templates at crosstec.de, including 1 year of support -- without any website limitations -- Just prove that you previously purchased another forms extension for Joomla!® from a different vendor and you are qualified.

Steps to take:

  • Purchase a 1-year-subscription from here
  • Write a quick email to This email address is being protected from spambots. You need JavaScript enabled to view it. with your username and prove of the purchase for the other form vendor and we'll upgrade to the professional-subscription

About

Crosstec GmbH & Co. KG

Bergisch-Gladbacher-Str. 829

51069 Cologne, Germany

Imprint