Dynamic Price Based on Email Input

  • Profile Image
    WeecesDev
    Asked on June 28, 2019 at 06:22 PM

    Hi! I need to have the price of checkout changed based on either email or name input from the form. This is for a client of mine who charges his clients different rates but basically just doesn't want to have his clients see the higher or lower prices he charges his other clients. Any help is appreciated!

  • Profile Image
    Alan_D
    Answered on June 28, 2019 at 06:55 PM

    You should create a temporary field to pass values to the payment field. Please look at these steps. 
    1. Add a form calculation widget and hide. 15617619608.png
    2. Get the price from this widget. 15617619809.png
    3. Fix the condition and create a condition for each email address. 156176202010.png4. Insert this CSS code to block cursor events on the price field. 
    [data-component="paymentDonation"]{
      pointer-events: none;  
    156176234011.pngPlease contact us if you have questions. 

  • Profile Image
    WeecesDev
    Answered on June 28, 2019 at 06:56 PM

    Beautiful! You're an absolute life saver! I'll give that a shot and let you know what happens.

  • Profile Image
    WeecesDev
    Answered on June 28, 2019 at 07:13 PM

    This worked perfectly! Just presented it to my client and he's ecstatic. You sir, just saved this project. I can't even thank you enough. Definitely going to be using Jotform a lot more in the future, there aren't any other form creators that I could find that would do this.

  • Profile Image
    jonathan
    Answered on June 28, 2019 at 07:54 PM

    On behalf of our colleague Allan_D, you are quite welcome!

    Feel free to contact us anytime should you require assistance again.

    Cheers