if u make a javascript function i may be best. add 1 line u r script set focus by document.ur_input_fieldnam.focus(); --- In php-objects@xxxxxxxxxxxxxxx, Nandu Prajapati <me_nandu55@...> wrote: > > i havs form with client details ,, > when client click Submit button ,, > validation are checked and if any field are empty then msgbox disply ,, > when i click OK button then how to set a focus so that cursor are focus on perticuler empty field,,, > > > ------narendra > > > Add more friends to your messenger and enjoy! Go to http://messenger.yahoo.com/invite/ > > [Non-text portions of this message have been removed] >