TOPIC:

Next page/submit button - show next page on Yes, different page on No 1 month 2 weeks ago #278208

  • Topic Author
  • WavesChris
  • Offline
  • Junior Breezer
  • Junior Breezer
  • Posts: 35
  • Thanks: 0
Hi,

I am trying to set up a form that has a mandatory Yes/No question on it. If the answer to this question is No, when the user presses Submit, I would like the user to see an 'end' page. Not a success page, but a 'you cannot continue with this form, please do xyz instead'. If the answer to the question is Yes, pressing the Submit button should take the user to Page 2 of the form.

I have got the second aspect working: I have two pages, with a Submit button on page 1, with the validation on click of FF::ff_validate_nextpage, but I can't figure out how to do the first aspect as well.

I appreciate any help.

Thanks!

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

Next page/submit button - show next page on Yes, different page on No 1 month 2 weeks ago #278215

  • tihana.krivic's Avatar
  • tihana.krivic
  • Offline
  • Moderator
  • Moderator
  • Posts: 11753
  • Karma: 3
  • Thanks: 761
Hi,

1)

I am trying to set up a form that has a mandatory Yes/No question on it. If the answer to this question is No, when the user presses Submit, I would like the user to see an 'end' page. Not a success page, but a 'you cannot continue with this form, please do xyz instead'

If answer is no, and on submit you can redirect user on specific page where you can add this "you cannot continue with this form, please do xyz instead", and with back button user can back to previous and do xzy. Is this ok? If yes, I will create a small example

Regards,
Tihana

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

Next page/submit button - show next page on Yes, different page on No 1 month 2 weeks ago #278322

  • Topic Author
  • WavesChris
  • Offline
  • Junior Breezer
  • Junior Breezer
  • Posts: 35
  • Thanks: 0
Hi Tihana,

Yes, what you have suggested should work. Please provide an example :)

Thanks

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

Next page/submit button - show next page on Yes, different page on No 1 month 2 weeks ago #278329

  • tihana.krivic's Avatar
  • tihana.krivic
  • Offline
  • Moderator
  • Moderator
  • Posts: 11753
  • Karma: 3
  • Thanks: 761
Hi,

I created a small example.

File Attachment:

File Name: example1810.zip
File Size:8 KB

Please download, unzip and install it (Components->Breezingforms->Configuration->Package installer->select this xml file->Install package->then in Manage forms you will see form with name example1810)

1) On page 1 I added question with yes/no, and custom submit button (I disable submit button and paging include in form->Properties).

2) if user click on yes, and click on submit he will be redirected to the page 2, here is content for yes

2) if user click on no, and click on submit he will be redirected to the page 3, here is contant for no

3) on submit button on page 1->Advacned->Actionscript I added the code for jumping to form page

I hope this is ok for you

Regards,
Tihana
Attachments:

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

Next page/submit button - show next page on Yes, different page on No 1 month 1 week ago #278502

  • Topic Author
  • WavesChris
  • Offline
  • Junior Breezer
  • Junior Breezer
  • Posts: 35
  • Thanks: 0
Hi Tihana,

Thank you for this - I've followed your instructions and understand 95% of what you've done; strangely on the form I've modified, both the Yes and the No option go to the same page (3) rather than Yes going to 3 and No going to 2 as intended...!

Could I trouble you to take a look at what I've done please? I'm happy to provide login details for our admin.

Thanks

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

Next page/submit button - show next page on Yes, different page on No 1 month 1 week ago #278510

  • tihana.krivic's Avatar
  • tihana.krivic
  • Offline
  • Moderator
  • Moderator
  • Posts: 11753
  • Karma: 3
  • Thanks: 761
Hi,

could you please send me login information, backend link and form name?

Use this tag:
[confidential]
[/confidential]
Only forum moderator can see this

Regards,
Tihana

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

  • Page:
  • 1
  • 2
Moderators: ForumSupport
Time to create page: 0.050 seconds

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

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!