Mar 13, 20247:27 AM - edited Mar 13, 20247:28 AM
Member
Payment link Form only prepopulates email field, none other
SOLVE
If I place the embed code from a Payment link on my external site, only the email field prepopulates from query string parameters. You can see I have modified the embed code to insert the values for email, firstname and lastname. Only email prepopulates.
Payment link Form only prepopulates email field, none other
SOLVE
@ACampbell61 I'm not sure it's a bug, versus a missing feature, ideas are the formal way of requesting an improvement. If you have a paid subscription, you could try submitting a ticket to HubSpot Support to see if they can provide further insight on the functionality and escalate the request.
If my reply answered your question please mark it as a solution to make it easier for others to find.
Mar 15, 20246:48 AM - edited Mar 15, 20246:51 AM
Member
Payment link Form only prepopulates email field, none other
SOLVE
EDIT: I'm assuming the javascript was relying on this attribute to auto populate the fields, but perhaps it's not working in a different way.
Looking into this further, in the HTML markup that hubspot renders for payment links, only the email field has the `autocomplete="email"` attribute on the `input` tag.
It looks like this could be solved at your end fairly easily. You should add the `autocomplete` attribute to any Contact and Company field that are added to a Payment Link in the editor.
Payment link Form only prepopulates email field, none other
SOLVE
Hi @ACampbell61 can you please share the full data-src URL using the insert code option so we can see how all of the form fields are configured in the parameters?
If my reply answered your question please mark it as a solution to make it easier for others to find.
Payment link Form only prepopulates email field, none other
SOLVE
Hi - yeah I'm not so sure, the autocomplete attribute is actually instructions to the browser that it's ok to autocomplete a previously entered email address, and not specific to Hubspot javascript code. It might just be a coincidence I noticed that.
Given this is more of a bug than an idea - is there a more direct way to get support here?
Payment link Form only prepopulates email field, none other
SOLVE
@ACampbell61 I'm not sure it's a bug, versus a missing feature, ideas are the formal way of requesting an improvement. If you have a paid subscription, you could try submitting a ticket to HubSpot Support to see if they can provide further insight on the functionality and escalate the request.
If my reply answered your question please mark it as a solution to make it easier for others to find.