+ 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.

7th Jan 2017, 8:11 AM
Brendan Rovholo
Brendan Rovholo - avatar
7 Réponses
+ 7
<input value="value">
7th Jan 2017, 8:18 AM
Valen.H. ~
Valen.H. ~ - avatar
+ 7
Give me more details and i'll make it for you... ^_^
7th Jan 2017, 8:19 AM
Valen.H. ~
Valen.H. ~ - avatar
+ 7
Then just do document.getElementById("idofyourinput").value = "Two nuggets"
7th Jan 2017, 8:36 AM
David Sebastian Keshvi Illiakis
David Sebastian Keshvi Illiakis - avatar
+ 6
You can use : <selection> <option selected> item1 </option> </selection> …
7th Jan 2017, 8:44 AM
Valen.H. ~
Valen.H. ~ - avatar
+ 4
i can make it easily with little html and little jquery ;)
7th Jan 2017, 8:29 AM
ARNAB BISWAS
ARNAB BISWAS - avatar
+ 4
so when the user chooses a option...more options will be shown?isnt it?
7th Jan 2017, 8:34 AM
ARNAB BISWAS
ARNAB BISWAS - avatar
+ 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.
7th Jan 2017, 8:32 AM
Brendan Rovholo
Brendan Rovholo - avatar