- crossfitbauruAsked on November 25, 2013 at 10:45 AM
I have a form: http://www.youwilldobetter.com/metricas-kpis-dashboards-sao-paulo-6-12-2013-7-12-2013/
With two SEND buttons:
1. with PayPal choice
2. a simple send e-mail form, in another page (page break)
The problem is:
Doesn't matter which button i click to send the form - they all redirect to paypal. Can i change the action of this second send button?
- JotForm SupportWelvinAnswered on November 25, 2013 at 12:34 PM
Thanks for creating a new thread. They are both the same submit button and you only have a single product selection which is already selected by default so whatever you click, it always redirect you to the Paypal Payment Page. Also, single product item is hidden by default.
If you want it to be an optional, I would suggest modifying the payment field. Add another item and price it as Free then hide it by injecting a custom CSS codes.
Simply clone this form back by following this guide: How to clone an existing form from a URL for you to see the whole settings. Here's how you can check the injected custom CSS codes: How to Inject Custom CSS Codes. Note that this codes varies on your product item so you can't just copy this and add it to another form.
Let us know if you need further assistance.
- crossfitbauruAnswered on November 25, 2013 at 01:06 PM
Welvin, thank you!
But the user MUST check the checkbox, right?
Please, look at:
I think when the checkbox is checked, even if i go to another page, the choice still PayPal, so the URL goes to payPal.
- JotForm SupportEltonCrisAnswered on November 25, 2013 at 03:11 PM
Yes you are right with that, whenever the product is checked, they will be redirected to the Paypal page regardless of what button is clicked. Since you've already added another product, the next step here is to create hide/show condition. You can either hide/show the product field or hide/show the Paypal button & the page break button. Here's an example cloned form with hide/show conditions. I am using the second approach, the hiding and showing buttons.
If Product field is filled, show Paypal button and & hide page break button. I think there's no reason for the user to proceed to the 2nd page if they will not be purchasing the product, however you can reconfigure the condition in anyway you like.
You can clone this form if you like.
Let us know if you have further questions. Thanks!
- crossfitbauruAnswered on November 25, 2013 at 05:53 PM
Hello EltonCris , thank you so much. You guys are very commited.
- JotForm Supportashwin_dAnswered on November 25, 2013 at 09:36 PM
On behalf of my colleagues, you are welcome.
Do get back to us if you have any questions.