Remove options like paypal button, countries on payment field

  • Profile Image
    Jadeumr
    Asked on July 18, 2016 at 08:04 AM
    Thank you.
    How can I hide pay pal button?
    Also how can I deselect all countries in the drop down menus in the cart
    and just leave Australia? As well as the rest of the form?
  • Profile Image
    EltonCris
    Answered on July 18, 2016 at 08:21 AM

    1. To hide the Paypal button, inject this CSS codes to your form.

    [data-type="control_paypalpro"] .form-address-table[cellpadding="4"] tbody tr:first-child + tr > td + td {

        display: none;

    }

    Guide: https://www.jotform.com/help/117-How-to-Inject-Custom-CSS-Codes (paste it into the bottom section if you have existing CSS codes injected in your form)

    2. For the full address fields, you can set Australia by default on its properties. You can also hide it from the Fields button.

    3. Unfortunately, country field on Payment Field is not customizable as of the moment. However, you can prepopulate Australia as its default value on the URL parameter.

    Example:

    https://www.jotform.co/form/60452817094861?myProducts[country]=Australia

    Where:

    myProducts[country] - is your country field name

    Australia - is the value

    Hope this helps!

  • Profile Image
    Jadeumr
    Answered on July 18, 2016 at 08:45 AM
    Thanks.
    I know it's possible to inject css to pay pal country drop down menus as
    you have issued me one hiding certain countries! The reason I ask to have
    just Australia is because PayPal sets a reserve limitation on the account
    with holding funds. Could you please get back to me with the css.
    Thanks
    ...
  • Profile Image
    Irshad
    Answered on July 18, 2016 at 10:45 AM

    As mentioned by my Colleague, Country field on Payment field is not customizable as of the movement.

    But you can prepopulate Australia as its default value on the URL parameter.

    Example:

    https://www.jotform.co/form/60452817094861?myProducts[country]=Australia

    If you need further assistance, please feel free to revert back.

    Thanks.