How can I hide paypal total if user changes their mind?

  • kedmasterk
    Asked on February 17, 2016 at 10:55 AM

    Hi there!

    I'm working on creating a form for a client, and I was playing with the form this afternoon and finding different ways that it might break. I noticed that if the user has already chosen dates for their hotel booking AND they choose the option to pay via paypal, then they aren't able to change their mind if they decide not to choose any hotel accommodations - "the submit payment" button also still displays, rather than "confirm registration" if they decide to opt for no accommodations.

    The user could clear the form, but that won't be intuitive for them. It will be difficult to instruct 300 - 500 people to do this.

    Any ideas on how I might be able to accomplish this? If this can be done via the source code, could you provide further instruction on how and where I can find this particular field? I'm having trouble parsing through all the data.

    Thank you!

    Jotform Thread 774395 Screenshot
  • Jeanette JotForm Support
    Replied on February 17, 2016 at 2:26 PM

    To resolve this, simply include the "Pay with Paypal" field into the condition for when the client chooses "No" .

    How can I hide paypal total if user changes their mind? Image 1 Screenshot 20

    Currently the condition will only show the Confirm Registration Button, when it's met, so I added the Payment Total field and it worked like a charm, here is the clone I made for you.

    https://form.jotform.com/60475607707965

  • kedmasterk
    Replied on February 17, 2016 at 4:46 PM
    That's great! Although another bug as arisen (of course, right?). So now
    the "Pay with Paypal" option continues to display (see attached image).
    I've realized that I can't hide that because the radial button that's
    hidden is technically still set to "paypal" - is there a way to clear that
    when I switch to "no"?
    I've cloned my form for testing here:
    https://form.jotform.com/60475947824164
    Kedar Joyner
    w: www.kedarjoyner.com
    e: kedarjoyner@gmail.com
    p: 608.628.1315


    ...
  • Jeanette JotForm Support
    Replied on February 17, 2016 at 5:58 PM

    I created a better version here:

    https://form.jotform.com/60475607707965