Welcome! Log In Create A New Profile

Advanced

[WebDev] - State of the Edit Field

Posted by Prolay Sarkar 
Prolay Sarkar
[WebDev] - State of the Edit Field
February 22, 2009 03:15PM
Hi,


I have to Edit controls and in the exit of one edit control i want to chech whether the Field is properly entered or not and if it is properly entered I want to gray/readonly the Edit Field and allow him to go to the next field.

I am not able to find a solution?

Regards,
Prolay
Fabrice Harari
Re: [WebDev] - State of the Edit Field
February 22, 2009 07:12PM
Hi Prolay...

in the onexit (browser) code of the first field, check what you need (if necessary via ajax for the server verif)... Then do a returntocapture to go to the other field or back to the current one...

Greying the field is possible in javascript only in browser code, if I remember correctly, but it's doable...

Best regards

Author:

Your Email:


Subject:


Spam prevention:
Please, enter the code that you see below in the input field. This is for blocking bots that try to post this form automatically. If the code is hard to read, then just try to guess it right. If you enter the wrong code, a new image is created and you get another chance to enter it right.
Message: