Вставка параметров в поля форм
Made with <3

Register Now

By submitting this form you agree to our Privacy Policy

JavaScript
// Params from query const queryParams = Object.fromEntries([...new URL(location).searchParams]); // Form with custom class '.autofill' const $form = $('.autofill'); // Input for name const $name = $form.find('[data-type="name"] input[type="text"]'); // Input for email const $email = $form.find('[data-type="email"] input[type="email"]'); // Fill form fields from query params $name.val(queryParams.name || ''); $email.val(queryParams.email || '');
Buy new tires and get free wheel balancing and alignment checks or brake pad replacement for 1 year.

By submitting this form you agree to our Privacy Policy

Getting Your Vehicle
Ready for Summer
Loading...
LOS ANGELES — 40 Dean Ave
NEW YORK — 17 Wall Street
(650) 123-45-67
INFO@MADETHOUGHT.COM
  • Homes
  • Products
  • News
  • Team
  • Contact us

Thank You

Your application has been submitted.
We'll contact you soon.