Drop down select

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • Nanos

    Drop down select

    For the form I need to create drop down select with say five different
    options. There also should be possibility to enter own option if one is not
    listed. How can I do it.?
    Thank you in advance for any hint,
    emanuel


  • Michael Austin

    #2
    Re: Drop down select

    Nanos wrote:
    [color=blue]
    > For the form I need to create drop down select with say five different
    > options. There also should be possibility to enter own option if one is not
    > listed. How can I do it.?
    > Thank you in advance for any hint,
    > emanuel
    >
    >[/color]

    This could be construed as an HTML-only question, in which case you are in the
    wrong group. Or it could be PHP, but you have not provided us an example of your
    attempt at resolving the problem. The web is repleat with example code, this
    news group is repleat with example code... so, in this case, I am going to refer
    you to 2 resources. Google and << http://www.php.net/en/manual/ >>

    If you haven't thought to use either of these 2 resources, I would give serious
    reconsideration in continuing in this line of work.

    --
    Michael Austin.
    Consultant - Available.
    Donations welcomed. Http://www.firstdbasource.com/donations.html
    :)

    Comment

    • steve

      #3
      Re: Drop down select

      "Nanos" wrote:[color=blue]
      > For the form I need to create drop down select with say five[/color]
      different[color=blue]
      > options. There also should be possibility to enter own option if[/color]
      one[color=blue]
      > is not
      > listed. How can I do it.?
      > Thank you in advance for any hint,
      > emanuel[/color]

      Nanos, I have not seen drop down menus and an optional entry combined.
      What I have seen is a drop down menu, and a text box for different
      entries. Search on google for "drop down menu" and also for "text
      box". You need to create basic drop down menus using html, and then
      learn how to use php to dynamically generate them and then how to
      process the resulting user input.

      --
      http://www.dbForumz.com/ This article was posted by author's request
      Articles individually checked for conformance to usenet standards
      Topic URL: http://www.dbForumz.com/PHP-Drop-sel...ict132812.html
      Visit Topic URL to contact author (reg. req'd). Report abuse: http://www.dbForumz.com/eform.php?p=444029

      Comment

      • Nanos

        #4
        Re: Drop down select

        Thank you Steve,
        I found some solution - but it is not to elegant. I remember that you
        could do it in ColdFusion so I thought that there is some trick also
        available in PHP. I know how to create drop down menus and dynamically
        populate them from DB - have several production sites running. But looks
        like I need to look for different solution - like adding own option through
        admin interface.
        Thank you anyway for your answer,
        Emanuel


        "steve" <UseLinkToEmail @dbForumz.com> wrote in message
        news:10g64igoto m1nac@news.supe rnews.com...[color=blue]
        > "Nanos" wrote:[color=green]
        > > For the form I need to create drop down select with say five[/color]
        > different[color=green]
        > > options. There also should be possibility to enter own option if[/color]
        > one[color=green]
        > > is not
        > > listed. How can I do it.?
        > > Thank you in advance for any hint,
        > > emanuel[/color]
        >
        > Nanos, I have not seen drop down menus and an optional entry combined.
        > What I have seen is a drop down menu, and a text box for different
        > entries. Search on google for "drop down menu" and also for "text
        > box". You need to create basic drop down menus using html, and then
        > learn how to use php to dynamically generate them and then how to
        > process the resulting user input.
        >
        > --
        > http://www.dbForumz.com/ This article was posted by author's request
        > Articles individually checked for conformance to usenet standards
        > Topic URL: http://www.dbForumz.com/PHP-Drop-sel...ict132812.html
        > Visit Topic URL to contact author (reg. req'd). Report abuse:[/color]



        Comment

        • Nanos

          #5
          Re: Drop down select

          Michael,
          I know how to look in Google and I know where to find PHP manual. I think
          that I described my problem clearly and I know I am in right group. If you
          would use Google you would see that there were similar questions asked but
          the solutions were not to elegant.
          So, I am in right group becouse you can not do it in HTML. And what example
          code you need to see (any HTML manual has an example of forms/drop down
          boxes listed)?
          Looks like you did not understand my questions. But thank you anyway for
          great hints :)
          Emanuel

          "Michael Austin" <maustin@firstd basource.com> wrote in message
          news:NPuMc.2019 6$fS2.4779@news svr23.news.prod igy.com...[color=blue]
          > Nanos wrote:
          >[color=green]
          > > For the form I need to create drop down select with say five different
          > > options. There also should be possibility to enter own option if one is[/color][/color]
          not[color=blue][color=green]
          > > listed. How can I do it.?
          > > Thank you in advance for any hint,
          > > emanuel
          > >
          > >[/color]
          >
          > This could be construed as an HTML-only question, in which case you are in[/color]
          the[color=blue]
          > wrong group. Or it could be PHP, but you have not provided us an example[/color]
          of your[color=blue]
          > attempt at resolving the problem. The web is repleat with example code,[/color]
          this[color=blue]
          > news group is repleat with example code... so, in this case, I am going to[/color]
          refer[color=blue]
          > you to 2 resources. Google and << http://www.php.net/en/manual/ >>
          >
          > If you haven't thought to use either of these 2 resources, I would give[/color]
          serious[color=blue]
          > reconsideration in continuing in this line of work.
          >
          > --
          > Michael Austin.
          > Consultant - Available.
          > Donations welcomed. Http://www.firstdbasource.com/donations.html
          > :)[/color]


          Comment

          Working...