0 Replies Latest reply on Aug 26, 2009 10:06 AM by laminJ

    setFocus on required field before movig unto the next field




      I am not experienced at the this, but I am making some textboxes required fields and would like users to fill the textboxes before they could move/tab unto other fields. So in other words, I want the focus to be on the required field until it is filled without the capability of tabbing to the next fields.


      below is what I have for displaying a message for empty required fields, but I am struggling at Setting Focus on the fields until they are filled.


        app.alert("Date is Required!");


      Any suggestion will be helpful. Thanks