- AA_CAsked on April 01, 2016 at 11:11 AM
I have two similar forms for Rulebook request.
One for non-members (53315129424955), and one for members (60365128562960).
On the members form I have some conditional options.
I ask if a person already has a copy, honor system, and if so they pay $10/copy.
If not the first copy is free and subsequent copies are $10/each.
I indicate that if records indicate they already have a copy they will be charged.
Q1. If they are selecting 1 free copy how do I get paypal to acknowledge the value is $0 and $10 for a paid copy.
Q2. How do I show on the response email that:
1 rulebook is requested at $0
or 1 rulebook is requested at $10,
or if a person gets the first 1 Free and subsequent copies are $10/each
or that all copies requested are $10/each
Right now if they indicate they do not have a copy the paypal option is hidden and they can only get one rulebook.
This may not be to everyone's liking if they want extra copies and will pay for them. So I need a bit of help with some logic.
- JotForm SupportBDAVIDAnswered on April 01, 2016 at 02:17 PM
No really sure if I have understood completely the logic you want to apply, but you can use the Form Calculation widget to perform a calculation, and then pass the total calculation to your payment field.
Here is an example:
1) Use a Spinner field, set a min value of 1:
2) Use the Form calculation widget, and setup the formula like this:
(Basically you subtract 1 since the first copy is free)
The first part is the one I am not clear with. If the person owns a copy, then all the copies will cost $10, right? If yes, you can simply assign a value to that question: https://www.jotform.com/help/301-How-to-Assign-Calculation-Value
And include it to to the formula:
Here is my cloned version: https://form.jotform.com/60915107473959
You may clone it if you want to: http://www.jotform.com/help/42-How-to-Clone-an-Existing-Form-from-a-URL
On regards of the email notifications, you can create more than one notification and send an specific one based on a form selection or input, by using conditions, please check this guide: https://www.jotform.com/help/167-How-to-Send-Email-Based-on-Selection
Let us know if you need more help.
- AA_CAnswered on April 01, 2016 at 06:44 PM
You understood the question correctly. Your example works as required. I prefer not to clone as I gain more insight by doing your fix myself.
I created two different forms because the members order form is only available to members who are logged in. So I don't require the option of "email notifications, you can create more than one notification and send an specific one based on a form selection " for this one.
Thank you I will apply your solution.
- JotForm SupportWelvinAnswered on April 01, 2016 at 06:52 PM
On behalf of my colleague, you are welcome. Please let us know if you need help with regards to this.
- AA_CAnswered on April 01, 2016 at 07:54 PM
Looking at the calculation option I notice you can only use it if you select "Donation" at PayPal options. This seems a bit strange to me. Why can't you use calculation for selling products ?
- JotForm SupportWelvinAnswered on April 01, 2016 at 08:03 PM
You will have to select the Donation/Custom Amount option if you want to pass the calculation widget total to the payment field. But to make this as a payment for a product, you have to uncheck the "This is a donation. We are a non-profit organization." option:
You can put the Payment Purpose which will be considered as the product name or product that is being paid for.
- AA_CAnswered on April 02, 2016 at 02:41 PM
Hi, Yes I see that.
I was just curious as to why it has to be a Custom Amount Payment and that the option is not available for Sell Product. I kept looking for some way use it there and that's why I put out the HELP call. I got it now.... just seams a bit straneg though.
Thanks again for the help.
- JotForm SupportjonathanAnswered on April 02, 2016 at 07:05 PM