Unbounce AutoFill

Hi everyone,

I was wondering if anyone has tried something similar to this – I’m trying to get Unbounce’s autofill javascript to take first/last name and email address information from a form and fill it into my S2Member checkout page. Here is the autofill information.

Unbounce allows me to set-up my Field Id’s as anything I need them but each field from my s2member form I’ve tried, it has not worked. Both are under my domain and Unbounce support persons says that things look correct on their side - my s2member form is just not working with me.

I’ve tried the following (using first name as an example):
s2member-pro-paypal-checkout-form-first-name-div
s2member-pro-paypal-checkout-form-first-name-label
s2member-pro-paypal-checkout-form-first-name

Does anyone have any suggestions?

Thank you very much!

The first think I’d do would be to get rid of the call to Google’s API for jQuery. jQuery is already built-in to WordPress, and you risk causing all sorts of conflicts by adding that line at the top.

Apart from that, I’m wondering whether you have any sort of security setup on your form which is marking this roboform as spam.

Hi Tim,

Thanks for your thoughts! I did take care of removing the API jQuery line and also turned off my our security plugin and still nothing.

I wonder if my Field ID’s should be more specific or if the information just cannot be translated.

Thank you again for your suggestions!

I am sure you can pass the information into your site, though I am not sure whether you can do it with an s2Member form (though I don’t see why not).

You should definitely check that your ids refer to your fields where the content goes (so the attempt with labels would not work).

If you can’t get it to work with the s2Member form, then I think you should either create a custom form or else use a plugin that enables you to create such a form.

I’m wondering if the fact that S2Member’s pro-forms have the following autocomplete=“off” on their forms - if that is blocking autofill - based on Googling, that does seem to influence it.

Are you using JavaScript to fill in the fields? Using PHP won’t work.

Hmm, thinking about this further, I wonder whether, although on your domain, Unbounce is not on the same site as WordPress. If that’s right, you need a way to connect the source to your site.

For that I think you need to save your code as JavaScript variables and put that in local storage (so you will need the Google API call for jQuery, as it’s not going to be on your WP site).

Then you need some JavaScript in your WP site to retrieve what has been saved in local storage and turn it back into variables that can then be used to populate the s2Member form.