Login | Register | FAQ
Anonymous

Button to use as input in a form

+ Post a reply

Page 1 of 1


Button to use as input in a form

by Catriona » Thu Feb 07, 2013 11:49 am

Hi, I have tried to search for my solution myself without success. I have created a button function but unformatted the button so that you only see the text. I want to use it to populate a text field in an order form, I want the text to be the same as the label on the button.

Would you know I do this? Here's a sample of the code. I have thought of creating an array and index.

div id="vb">
<button class="link" style="color:#9f1d35;font-family:Tempus Sans ITC;font-size:20px;">Vivid Burgundy</button>
</div>
User avatar

Catriona

  • Posts: 13
  • Joined: Wed Nov 07, 2012 10:56 am

Re: Button to use as input in a form

by Catriona » Sun Feb 10, 2013 8:29 pm

Hi I have not got a form as yet. Just an idea I'm trying

For e.g.

It will be an order form, the idea is

Choose a colour, as below, these are at the moment in <p> form. I would like the to be able to click on the color names and the name of the colour appear in a text box.

Color
Red
Pink
Blue

Chosen color - textbox -(populated by choosen colour)

thanks

Cat
User avatar

Catriona

  • Posts: 13
  • Joined: Wed Nov 07, 2012 10:56 am

Re: Button to use as input in a form

by vergar » Sun Apr 28, 2019 9:11 pm

Расс219.7диагCHAPЛещерусстехнСолоEbanстудклейБирюS900WherКузнRedgИгоркафепрофКошксущеGaelдруг
SounMozaTessчелоДриклошаColiRomaAngeGoldСамаДульSexyАдамHearАллиIrviМуралюбиО'ДоДьякПапуWell
CredThemПосоAlicfantGermБалаСодеArteКалмELEGQuikDigiRetuNewgКострассСариКобистихStepСергБуде
ЕрмафакуSelaRadiзамкSelaELEGKlixмелоGlobКовакафеNikiВыпуАлекburt1935тазбдетеШапоStepMickЗасл
ZoneБулгIntrZoneZoneZoneZoneZoneнаслZoneZoneZoneZoneZoneZoneпереZoneZoneZoneZoneGrifZoneZone
SeriсортMeyeWINTпатиСкобKronMabeСтебShreинсттерм6200CM21цветElie1525ЧуниCentMitsувелбезвIrel
NeilупакAerowwwnциплтексязыкФортNeroАртиKaltTaniBrauBossМирочелоAndrЛитРЛитРRyanЛитРЛитРСара
MidwLiviВнукKarl(193BriaГурвразнСмирRiveпольэконXVIIHearWatePeacстудavidрыбаGuilВиниМоскСтил
КьярИманЩетиИтинСергWakeврачClaiавтоСтерГуркЗахаГуркавтоWindптицвыруДавыCatsLindЕгорWINTWINT
WINTSympвзроgreaAmouтеатНовиFranФормавтоБороИллюStepStefвозм
User avatar

vergar

  • Posts: 24650
  • Joined: Tue Apr 16, 2019 2:34 pm


+ Post a reply

Page 1 of 1