How can I edit fields within a payment form?

  • vancabaret
    Asked on November 1, 2015 at 4:40 AM

    Is it possible to edit fields within a payment form? I am using the Paypal Pro Payment Tool and would like to have the country field (under billing address) default to Canada as the majority, if not all, of are customers are located here. We'd also like to pre-populate the State/Province field with "British Columbia, again because the majority of are customers are located here. We'd like to edit or delete the Billing Address title. Generally how can one customize within the payment form, if at all?

  • Chriistian Jotform Support
    Replied on November 1, 2015 at 7:17 AM

    Hi,

     

    Currently checking if this is possible. I will get back to you once I find a solution.

  • Chriistian Jotform Support
    Replied on November 1, 2015 at 7:21 AM

    Unfortunately, I found no way to set the default country and state/province under billing address. You can set the currency but not the fields under the billing address.

  • vancabaret
    Replied on November 1, 2015 at 5:35 PM

    Is using the Publish source code, and than editing it directly on my site an option?

  • Chriistian Jotform Support
    Replied on November 1, 2015 at 11:18 PM

    Yes, you can try to download the full source code of the form and then modify the code to achieve what you need. To get the source code in your form, you can follow the instructions provided below.

    1. Click Publish.

    How can I edit fields within a payment form? Image 1 Screenshot 40

    2. Click Embed.

    3. Select Source Code.

    4. Click Download Source code or Copy Code.

    How can I edit fields within a payment form? Image 2 Screenshot 51

     

    To set the default value for the Country field, just add selected tag to the option.

    How can I edit fields within a payment form? Image 3 Screenshot 62

     

    Do let us know if you need further assistance.
    Regards. 

  • vancabaret
    Replied on November 1, 2015 at 11:55 PM

    Was searching for an overview of tips and best practices security wise when publishing JotForms via a copy/paste into your own website. I assume secure the site hosting the code with HTTPS is a necessity, especially for forms collecting payment? Any other best practice that JotForm would suggest for someone want to host the forms code directly on their site? 

  • Chriistian Jotform Support
    Replied on November 2, 2015 at 1:33 AM

    Hi,

     

    Yes, you are right. It will be better using HTTPS on your website. Unfortunately, I can't give you any tips or best practices but your client's data will be secure since the form links are in HTTPS so it will be sent securely:

    <form class="jotform-form" action="https://submit.jotformpro.com/...

     

    Do let us know if you need further assistance.

    Regards.