0

I would like to pass a value to an input area on another page by clicking on a specific link.

For example, if a user clicks on a Inquire Now button/link:

    <a href="/contact.html">Inquire Now<a>

it will take them to the Contact page and the subject input of the form will automatically fill to "Inquiry about Service".

    <input type="text" name="subject" value="Inquiry about Service" required />

Is there a way to do this with HTML?

pcmila
  • 23
  • 5

0 Answers0