Hello and welcome to our community! Is this your first visit?
Register
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 8 of 8
  1. #1
    Regular Coder
    Join Date
    Aug 2010
    Posts
    713
    Thanks
    165
    Thanked 0 Times in 0 Posts

    Textbox working issue to lessen the time in typing

    Good day!

    I have a question regarding textbox properties. In my textbox username I want to happen is when I input a letter for example is "l" all the letter started in "l" in my field username was appear, so that the user can choose what she want to type to lessen the time in typing like in the google search. Is it possible?How can I do that?

    Thank you in advance

  • #2
    Senior Coder
    Join Date
    Sep 2010
    Posts
    1,911
    Thanks
    15
    Thanked 227 Times in 227 Posts
    If the user has autofill enabled in the browser it will happen anyway, without your adding any code. If the user doesn't have autofill enabled they won't like it to happen. Or do you want a user to see all the other user's names? Doesn't sound like a good idea to me.

  • #3
    Regular Coder
    Join Date
    Aug 2010
    Posts
    713
    Thanks
    165
    Thanked 0 Times in 0 Posts
    Quote Originally Posted by DrDOS View Post
    If the user has autofill enabled in the browser it will happen anyway, without your adding any code. If the user doesn't have autofill enabled they won't like it to happen. Or do you want a user to see all the other user's names? Doesn't sound like a good idea to me.
    Where I can enable autofill?
    Thank you

  • #4
    Supreme Master coder! Philip M's Avatar
    Join Date
    Jun 2002
    Location
    London, England
    Posts
    17,907
    Thanks
    203
    Thanked 2,531 Times in 2,509 Posts
    Quote Originally Posted by newphpcoder View Post
    Where I can enable autofill?
    Thank you
    Only the user can enable autofill.

  • #5
    Regular Coder
    Join Date
    Aug 2010
    Posts
    713
    Thanks
    165
    Thanked 0 Times in 0 Posts
    I'm sorry....I'm wrong when I said that the textbox or the field is username...it is machine number. Is it possible that when in my machine number field in my table has a data like this: K1, K2, K3, D1, D2, D3 and when I input in textbox the letter K all the first letter in the field machine number that start in letter K appear almost, so that she can used arrow down key to choose what in machine number she want to input. Any possible can I do to fix this issue?

    Thank you so much...

  • #6
    Supreme Master coder! Philip M's Avatar
    Join Date
    Jun 2002
    Location
    London, England
    Posts
    17,907
    Thanks
    203
    Thanked 2,531 Times in 2,509 Posts
    See Search Listbox data by Typing on Textbox
    Post#2


    All advice is supplied packaged by intellectual weight, and not by volume. Contents may settle slightly in transit.

  • #7
    Regular Coder
    Join Date
    Aug 2010
    Posts
    713
    Thanks
    165
    Thanked 0 Times in 0 Posts
    Quote Originally Posted by Philip M View Post
    See Search Listbox data by Typing on Textbox
    Post#2


    All advice is supplied packaged by intellectual weight, and not by volume. Contents may settle slightly in transit.
    Thank you for the links but I don't want to use a list box I want that the data that appear is from the database


    Thanks

  • #8
    Supreme Master coder! Philip M's Avatar
    Join Date
    Jun 2002
    Location
    London, England
    Posts
    17,907
    Thanks
    203
    Thanked 2,531 Times in 2,509 Posts
    Quote Originally Posted by newphpcoder View Post
    Good day!

    I have a question regarding textbox properties. In my textbox username I want to happen is when I input a letter for example is "l" all the letter started in "l" in my field username was appear, so that the user can choose what she want to type to lessen the time in typing like in the google search. Is it possible?How can I do that?
    You cannot have multiple values in a textbox. You only possibility is to populate a select list with the names from the database, and transfer the selected name to your textbox


  •  

    Posting Permissions

    • You may not post new threads
    • You may not post replies
    • You may not post attachments
    • You may not edit your posts
    •