Link to home
Start Free TrialLog in
Avatar of fskilnik
fskilnikFlag for Brazil

asked on

input bootstrap field

Hi there,

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.

Thanks,
fskilnik.

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"))
ASKER CERTIFIED SOLUTION
Avatar of Big Monty
Big Monty
Flag of United States of America image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of fskilnik

ASKER

Hi, Big Monty!  Long time since I had the pleasure to learn from you again...

Excellent, it worked as expected!

I was so worried about the value/placeholder stuff (sorry, attributes) that I could not see that "name" was in one but not in the other...    :)

Thanks a lot!

Regards,
fskilnik.
You're very welcome, glad I could help :)

it's always the little stuff that'll get ya!
Hi again, Big Monty!

You are very very right...    :)

Thanks a lot, as always!!

All the best,
Fabio.