View Full Version : Force insert value to TextBox in a certain order

03-31-2009, 09:45 AM
Hi, I need help please.

I have a textbox with char length 30 & a tooltip providing user information on how the value should look like.

The value should be in the following order of: Test1 Test2 Test3
but the user's keep on getting it wrong: Test1 Test3 Test2
all kinds of order even though they have been educated via mail & tooltip.

In the past I had 3 different text boxes that adds up to one and was cancelled as the users got confused. The values are string & can be anything, it's just the order of the value is incorrect to make the field valid.

I have a backround image on textbox indicating the format

Any Ideas?


03-31-2009, 02:39 PM
Is the page in English. If so, I'd like to have a look at it to see why so many get confused. Even if it isn't, I'll give it my best shot if you give us a link to it:

Please post a link to the page on your site that contains the problematic code so we can check it out.

However, if the values can literally be anything, there is no way for javascript to sort them for you. But if there is some logic to them, javascript might be able to be used to do this.

Unless your page is inaccessible to non-javascript users, a server side fall back should also be devised for anything crucial that you are doing via javascript.