WebsiteBaker Logo
  • *
  • Templates
  • Help
  • Add-ons
  • Download
  • Home
*
Welcome, Guest. Please login or register.

Login with username, password and session length
 

News


WebsiteBaker 2.13.8 is now available!


R.I.P Dietmar (luisehahne) and thank you for all your valuable work for WB
https://forum.websitebaker.org/index.php/topic,32355.0.html


* Support WebsiteBaker

Your donations will help to:

  • Pay for our dedicated server
  • Pay for domain registration
  • and much more!

You can donate by clicking on the button below.


  • Home
  • Help
  • Search
  • Login
  • Register

  • WebsiteBaker Community Forum »
  • WebsiteBaker Support (2.8.x) »
  • Bakery Shop »
  • dropdown instead of input field
  • Print
Pages: [1]   Go Down

Author Topic: dropdown instead of input field  (Read 4358 times)

Offline mgeene

  • Posts: 148
dropdown instead of input field
« on: April 04, 2014, 10:14:56 AM »
I would like a dropdown option when filling in the numbers of article instead of a input field, is this possible and how to realize that?

Thanks for your comment
Logged

Offline marmot

  • Posts: 1103
Re: dropdown instead of input field
« Reply #1 on: April 04, 2014, 08:59:34 PM »
Hi,

in the pages settings find the input for overview and replace
Code: [Select]
<input type="text" name="item[ITEM_ID]" class="mod_bakery_main_input_f" value="1" size="2" /> with something like
Code: [Select]
    <select class="mod_bakery_main_input_f" name="item[ITEM_ID]" size="1">
      <option>1</option>
      <option>2</option>
      <option>3</option>
    </select>
for the detail view do something similar in the details footer input field.

regards
Logged

Offline mgeene

  • Posts: 148
Re: dropdown instead of input field
« Reply #2 on: April 07, 2014, 12:37:08 PM »
Thanks for your answer, plain and simple!
Logged

  • Print
Pages: [1]   Go Up
  • WebsiteBaker Community Forum »
  • WebsiteBaker Support (2.8.x) »
  • Bakery Shop »
  • dropdown instead of input field
 

  • SMF 2.0.19 | SMF © 2017, Simple Machines
  • XHTML
  • RSS
  • WAP2