Skip to Content
avatar image
Former Member

Cursor position in Input Fields

Hi All,

I have a WD application where in i have 2 input fields.

Now the problem is, when i click on the input fields to fill in the value, the cursor positions itself in the second position and not in the home i.e start of the line position.

Because of this there is inconsistency in data.

How can i resolve this? Now what i am doing is, click on the input field, then press backspace once to go to the start of the line and then enter the values.

What settings or code needs to be changed for this. Please suggest.

Regards.

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

3 Answers

  • avatar image
    Former Member
    Apr 10, 2010 at 12:19 PM

    Dear Becky,

    By default it should point to the first position only. Please check in your code is anywhere by mistake you are setting " " in that input field context.

    Best Regards,

    Swati Gaur

    Add comment
    10|10000 characters needed characters exceeded

  • Apr 11, 2010 at 07:25 AM

    Hi Becky

    Please check the input filed properties and level binding and context binding properties for input field.

    Hope it helps

    Regards

    Arun

    Add comment
    10|10000 characters needed characters exceeded

  • Apr 12, 2010 at 02:13 AM

    Hi Becky,

    Pls check the context attribute for the input field and just for testing purpose try to print the value of the input field in the doinit() of the controller and after this invalidate the node, print the value and after entering value in the field print and check the out put.

    Hope after this you'll get the root cause.

    Deepak!!!

    Add comment
    10|10000 characters needed characters exceeded