How to hide subscription description on PayPal integration?

  • moody_moose
    Asked on March 5, 2025 at 2:22 AM

    Hi,

    I don’t like how the PayPal Personal widget describes my subscription options, so I have created my own under a Single Choice field.

    However I can’t find a condition method that allows one to automatically select the corresponding option on the PayPal field. Nor can I see an option to hide the PayPal field.

    Help please

  • Gian JotForm Support
    Replied on March 5, 2025 at 9:25 AM

    Hi moody_moose,

    Thanks for reaching out to Jotform Support. I see that you're selling subscriptions using the PayPal Personal integration. Currently, there's no option not to pass the value from your Single Choice field to the payment field.

    If you want to hide certain elements from the payment field, we can inject CSS codes into the form instead of using the Single Choice field. Can you confirm if these texts are the ones you're trying to hide?

    How to hide subscription description on PayPal integration? Image 1 Screenshot 40

    If so, we can inject these CSS codes:

    #cid_80 > div > div:nth-child(10) > span.form-product-item.hover-product-item.new_ui.p_selected > div > div.form-product-container > span > span, #cid_80 > div > div:nth-child(10) > span:nth-child(3) > div > div.form-product-container > span > span, #cid_80 > div > div:nth-child(10) > span:nth-child(5) > div > div.form-product-container > span > span {
      display: none
      
    }


    Let me show you how to inject the CSS codes:

    1. In the Form Builder, click on the Paint Roller icon.
    2. In the menu on the right, go to Styles.
    3. Scroll down and paste the code.

    How to hide subscription description on PayPal integration? Image 2 Screenshot 51

    Here's the result:

    How to hide subscription description on PayPal integration? Image 3 Screenshot 62

    Give it a try and let us know if you need any help.

  • moody_moose
    Replied on March 5, 2025 at 6:35 PM
    Hi,
    Thanks for this solution. I have applied it however the subtext for first payment option still displays when clicking the other options?
    Thanks
    ...
  • Gian JotForm Support
    Replied on March 5, 2025 at 6:53 PM

    Hi moody_moose,

    Remove the first code I provided and replace it with the codes below:

    #cid_80 > div > div:nth-child(10) > span:nth-child(1) > div > div.form-product-container > span > span, #cid_80 > div >
    div:nth-child(10) > span:nth-child(3) > div > div.form-product-container > span
    > span, #cid_80 > div > div:nth-child(10) > span:nth-child(5) > div > div.form-product-container > span
    > span {
        display : none;
    }


    Here's the result:

    How to hide subscription description on PayPal integration? Image 1 Screenshot 20

    Let us know if there’s anything else we can help you with.

  • moody_moose
    Replied on March 5, 2025 at 7:55 PM
    Thank you very much
    ...
  • moody_moose
    Replied on March 5, 2025 at 10:20 PM
    My form is now complete but when I fill it in myself it does not proceed to the PayPal payment screen? The submit button just says “please wait…”On 5 Mar 2025, at 23:53, Jotform <noreply@jotform.com> wrote:





    ...
  • Karlo JotForm Support
    Replied on March 6, 2025 at 7:03 AM

    Hi moody_moose,

    I answered your other question on a new thread. You can go ahead and check that out here.

    Let us know if there’s anything else we can help you with.