- headshotretouchingAsked on March 17, 2014 at 12:53 PM
Is it possible to have a checkbox field that, based on which boxes the user selects in that field, then autopopulates an identical checkbox field within the PayPal Pro integration?
For example, if a user selects options 3, 5 and 10, when they get to the PayPal field, options 3, 5 and 10 become pre-selected in the PayPal Pro form's checkboxes (each containing an associate cost).
The reason I can't simply have the user select the checkboxes in the PayPal section is because this is a service request, and if there is an option they would like but that isn't offered, they have the option to fill out a text box after the initial checkbox field describing their request and then prompting them to click "request quote" rather than purchasing. But it's important that they do this before filling out their payment information.
- JotForm SupportWelvinAnswered on March 17, 2014 at 03:00 PM
Unfortunately, that is not possible in our form builder. But I think that is possible with getting your form source codes (How to Get Form Source Codes) then by adding a custom script that would auto-check Paypal Pro options based on the previous checkbox field selection.
Note that using the source codes, you would need to host it to your servers. You can save the codes as an HTML file then upload it. One more thing, every changes made to the form will not be automatically reflected to the form source codes. You would need to redo everything every time you'll make a changes to the form.
I would be happy to come up with a working example if you would like this method.
- headshotretouchingAnswered on March 17, 2014 at 04:22 PM
Thanks, a working example would be great. I'm not savvy with coding, should I send you what I currently have? And I can finish updating the rest of the formatting with my logo, etc, later?
Is it easier or more difficult if I separated the pages so that the PayPal section is on page 2 of the form?
Will the form still be https secure, or no? And are there any disadvantages to hosting it on my own website?
Thanks so much!
- jedcadornaAnswered on March 17, 2014 at 06:49 PM
Is it easier or more difficult if I separated the pages so that the PayPal section is on page 2 of the form? Using the form source method an easier way is to have the PayPal section on same page.
Will the form still be https secure, or no? And are there any disadvantages to hosting it on my own website? If you use https://secure.jotform.com then your form should be secure when receiving a submission. The only disadvantage that I can think of is when you updated your form in form builder you need to grab a fresh copy of your form source and reupload it to your website unlike if you use an embed code or iframe changes automatically appears.
Please confirm if this is the form that you want to modifyhttp://www.jotform.us/form/40705033540139? If I understand your question correctly if any of the checkbox filled is selected you have another option that will pop up then PayPal will be selected is that correct? I don't see other fields where you can pass the values input from your checkbox field.
- headshotretouchingAnswered on March 17, 2014 at 10:49 PM
Yes, that is the correct form. Thank you.
I'm not 100% sure I understand what hosting on my site means and how it differs from how I'm currently planning on implementing jotform into my site. My website is created/hosted on wix.com. I know they have an iframe option, where I can copy/paste html code. I've also successfully tested pop-ups with jotform.
And yes, I believe you understand the question. Currently the non-PayPal form is hidden unless the user enters text into the box asking if they would like any services not listed. However, I'm considering changing the approach and having that visible. And as you'll see, the check boxes match identically to those found within the PayPal section.
If it's not too difficult, it would be ideal to have the PayPal section on page 2 of the form. That way, at the bottom of page 1 would either be a button "GET INSTANT QUOTE" bringing them to the PayPal section if they do not have any additional requests, or "REQUEST QUOTE" which would skip the PayPal section and submit the request for us to review before giving them a price.
- JotForm SupportEltonCrisAnswered on March 18, 2014 at 12:18 AM
This is how it works.
1. When you check "Get Instant Quote?", it will give you Get Instant Quote button to proceed on the next page and then pay over Paypal.
2. Otherwise, if "Get Instant Quote?" is unchecked, you can submit the form without any payment.
Let us know should you have further questions.
- headshotretouchingAnswered on March 18, 2014 at 12:36 AM
Thanks but that doesn't solve the original question about how to autopopulate a duplicate set of checkboxes in Paypal Pro from an identical set of checkboxes on a preceding page. And what exactly it means to host the form to my own servers.
FYI the user shouldn't have the option to check "get instant quote". It would automatically change from "GET INSTANT QUOTE" to "REQUEST QUOTE" only if they enter text in an above box "Do you have any custom requests that are not listed above..."
- JotForm Supportashwin_dAnswered on March 18, 2014 at 05:15 AM
Thanks but that doesn't solve the original question about how to autopopulate a duplicate set of checkboxes in Paypal Pro from an identical set of checkboxes on a preceding page.
And what exactly it means to host the form to my own servers.
If you add custom code in your form's source code, you cannot upload the form's source code back in the form builder. You will have to save the source code files in your own server / hosting.