+ 2
How do I automatically fill parts of a form without any user input?
I am working on making different links to one form but it should automatically fill in some information depending on the link the user clicked.
7 odpowiedzi
+ 7
<input value="value">
+ 7
Give me more details and i'll make it for you... ^_^
+ 7
Then just do document.getElementById("idofyourinput").value = "Two nuggets"
+ 6
You can use :
<selection>
<option selected> item1 </option>
</selection>
…
+ 4
i can make it easily with little html and little jquery ;)
+ 4
so when the user chooses a option...more options will be shown?isnt it?
+ 1
I'm making a page which has only an HTML form. The user will have to select an item he/she wants to purchase in order to be directed to the form. but I want to complete some sections of the form depending on what the user is buying.