I am looking for a simple way to pre-fill a field in my contact form when ever a user clicks on a link that is given in some other page.
This is my contact form in html :
I want to fill the "message" field with "some text" when a user clicks on a url like `www.xyz.com/contact.html?setmessagefield=some_text`
以上就是Pre-fill form field via URL in html的详细内容,更多请关注web前端其它相关文章!