facebook

Select Field Entry and Set Field Default

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

    mreade
    Member

    How can one select everything that is in a text field when they click inside the field?

    Secondly, how can one make a specific text field the default field when a form (screen) loads?

    Thanks

    Mike

    #332877 Reply

    @mreade,

    Can you share more details about what you’re trying to do?
    And what do you mean with make a textfield default?

    #332887 Reply

    mreade
    Member

    Let us say that I have FormA.mobi. After it loads, there are three text fields where users will be able to type in numbers/text.

    What I am looking to do is:

    1.

    After the form loads, I would like for field1 to have focus, or have the cursor in that field by default.

    2.

    After information is typed in the fields, let us say that I would like to select/highlight all of the text in field 2, when I click/point in that field.

    Currently, when I point in a field which already has information, the cursor goes to the end of the field.

    I hope this makes sense?

    Thanks

    Mike

    #332984 Reply

    support-michael
    Keymaster

    I was thinking about this:

    > I would like for field1 to have focus, or have the cursor in that field by default.

    This sounds like a desktop-based UI. I’m confused because we are talking about a mobile/touch UI. So the user will click into a field he wishes to begin editing in. Are you seeking to have a field selected by default with the keyboard preopened or something like that?

    #332988 Reply

    mreade
    Member

    Yes, when a screen loads have the first field automatically selected to enter data.

    And, when you touch a field which already has a value in it, select/highlight everything in the field rather than back space to change the value.

    #350460 Reply

    EricRae
    Participant

    Did you ever figure this out? I would like to do this too.

Viewing 6 posts - 1 through 6 (of 6 total)
Reply To: Select Field Entry and Set Field Default

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