select & input

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

    select & input

    Inside a form I'd like to give my customers both posibility to choose
    between data extracted from database (mysql) and to type their own
    text. Something like select with one option value typed by them and
    anothere we offer from database. Is it possible?

  • Donny Riyadi

    #2
    Re: select & input

    Hi @net,
    of course it is possible.
    All you have to do is first ask the user, and then with the result, you
    can produce the formular like how they want it.

    Donny

    @net schrieb:
    Inside a form I'd like to give my customers both posibility to choose
    between data extracted from database (mysql) and to type their own
    text. Something like select with one option value typed by them and
    anothere we offer from database. Is it possible?
    >

    Comment

    • @net

      #3
      Re: select & input

      Well, I'd like to do it without asking user anything, because I have
      serveral fields i'd like to design in this way, so if I ask the user in
      one place to decide what he wants, he can change his mind during
      filling the form. (this is possible in access, but i'm quite novice in
      web programing).

      @net

      Donny Riyadi wrote:
      Hi @net,
      of course it is possible.
      All you have to do is first ask the user, and then with the result, you
      can produce the formular like how they want it.
      >
      Donny
      >
      @net schrieb:
      Inside a form I'd like to give my customers both posibility to choose
      between data extracted from database (mysql) and to type their own
      text. Something like select with one option value typed by them and
      anothere we offer from database. Is it possible?

      Comment

      • @net

        #4
        Re: select & input

        Well, I'd like to do it without asking user anything, because I have
        serveral fields i'd like to design in this way, so if I ask the user in
        one place to decide what he wants, he can change his mind during
        filling the form. (this is possible in access, but i'm quite novice in
        web programing).

        @net

        Donny Riyadi wrote:
        Hi @net,
        of course it is possible.
        All you have to do is first ask the user, and then with the result, you
        can produce the formular like how they want it.
        >
        Donny
        >
        @net schrieb:
        Inside a form I'd like to give my customers both posibility to choose
        between data extracted from database (mysql) and to type their own
        text. Something like select with one option value typed by them and
        anothere we offer from database. Is it possible?

        Comment

        • Jerry Stuckle

          #5
          Re: select & input

          @net wrote:
          Inside a form I'd like to give my customers both posibility to choose
          between data extracted from database (mysql) and to type their own
          text. Something like select with one option value typed by them and
          anothere we offer from database. Is it possible?
          >
          You could put two radio buttons - one to select the database data, and
          one to select the user data.

          You could also check the text field for any input, but that's a little
          more prone to potential problems.

          --
          =============== ===
          Remove the "x" from my email address
          Jerry Stuckle
          JDS Computer Training Corp.
          jstucklex@attgl obal.net
          =============== ===

          Comment

          • webbyfoot@gmail.com

            #6
            Re: select & input

            @net wrote:
            Inside a form I'd like to give my customers both posibility to
            choose
            between data extracted from database (mysql) and to type their own
            text. Something like select with one option value typed by them and
            anothere we offer from database. Is it possible?
            I've used OnChange events on dropdown selection boxes populated from a
            database to populate a textfield that otherwise can be filled in by the
            customer with there own text. Means all the fields have to be in pairs
            of selection boxes and text fields - may confuse the customers till
            they get the hang of it.

            Comment

            Working...