facebook

How to create a search field

  1. MobiOne Archive
  2.  > 
  3. Getting Help – General
Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
    Posts
  • #312580 Reply

    Albatros78
    Participant

    Hello,

    I would like to know if it’s possible to create a search field like the native iPhone field with the keyboard displayed at the bottom, to help user to type quickly the text and with a magnifying glass to search the text into db records

    How does it possible to integrate this feature into mb1 project

    #312910 Reply

    sshah22
    Member

    Hi im stuck with the same problem.. Can somone help us please!

    #312912 Reply

    Albatros78
    Participant

    Hello sshah22

    In fact the keyboard is automatically displayed when you have a field text in your project.

    But for searching I don’t found any solution to display the same look as native iPhoen with the magnifying glass.

    In this case you need to add a custom button, and to affect a Javascript fucntion to the his button

    But if there is a solution nearest native iPhone searching text fields, it would be welcome.

    #312919 Reply

    sshah22
    Member

    Oh thats great, the thing is, im creating an app for a project i am doing at university and need to do a search facillity within the application, is there any way of linking both the text field and a hit button together or even when a user types something it pulls similar words out.

    Regards

    #312920 Reply

    Albatros78
    Participant

    If you create a button to do something (search, next page …), you need to retrieve infos into your js/php function from you text field to manipulate data.

    Same as normal web design when you create a form.

    #312924 Reply

    sshah22
    Member

    Ok so i have to use some search javascript within the button? Sorry im just new to all this lol

    Thanks

Viewing 6 posts - 1 through 6 (of 6 total)
Reply To: How to create a search field

You must be logged in to post in the forum log in