I'm working on embedded form, I'm using stripe for online payments, and using their API to call this form.
I want to change placeholder of inputs because in Ireland they're straight different then in US.
We've got:
<div class="line_1">
<input name="line_1" id="line_1" type="text" placeholder="City" autocompletetype="address-line1" required="">
</div>
That's part of the iframe code.
I'm calling form on click action:
StripeCheckout.open({
key: '50m3s3cr3tk3y',
amount: 0000,
currency: 'eur',
address: true,
image: '/someimage.png',
name: 'Product name',
description: 'Marketing speech',
panelLabel: 'Call to Action',
token: token
});
jQuery("#line_1").attr("placeholder", "Town/City");
This doesn't seem to work for me, looks like it doesn't even recognize field such as "line_1"
What's the best way to achieve it? As Stripe API doesn't provide it, on other hand there is an option to create own form.
Thanks, Adam