input bootstrap field
Posted on 2015-02-19
When I use the following structure :
<input name="QuestDBID" type="text" id="QuestDBID" value="<%=(rsQuestAnswer.Fields.Item("QuestDBID").Value)%>" size="5" />
I AM able to pass the QuestDBID value to the next (pure asp) page, but I cannot when I try this structure:
<input type="QuestDBID" class="form-control" id="QuestDBID" placeholder="<%=(rsQuestAnswer.Fields.Item("QuestDBID").Value)%>">
The reason I would like the last one is only "esthetic" (better looking), but even without taking that into account, I would like to learn how to change the second structure so that it works as the first one.
P.S.1: I would not like to take out the placeholder property, and I know "value" and "placeholder" are different, but I´ve tried changing one for the other and it did not work as I expected...
P.S.2: the value was passed through this: questDBIDChosen = CStr(Request.Form("questDBID"))