Validate then change focus (Full Version)

All Forums >> [Web Development] >> ASP and Database



Message


DesiMcK -> Validate then change focus (7/3/2008 16:38:59)

Hi,

I have a form that is built from a db and I have added a textbox into the loop. Basically, it's a list of pupil names and a textbox called Mark & <%=i%> where i is an iterator.

the page loops through the names and each text bos has a consecutive number, ie Mark1, Mark2, etc.

I would like to do the follow - I imagine using javascript:

The user can input either of the following characters - /, N, L or I.

Is it possible to validate the entry then move to the next textbox after the character has been entered.

Hope this makes sense.

Thanks,

Desi




Page: [1]

Valid CSS!




Forum Software © ASPPlayground.NET Advanced Edition 2.4.5 ANSI
0.046875