locked
Setting Focus to another field after onchange event on a date/time field RRS feed

  • Question

  • I have noticed across several examples (probably all) that when trying to set the focus  to another field from the onChange event in a date field the focus does not move to the other field.  Seeing this behavior in CRM 2011

    Example  -

    Datefield on change event fires.

    some code ...

    //set focus to another field

    Xrm.Page.getControl("someotherfield").setFocus(true);

    All of the other code within the onChange event works fine but the focus remains on the date field.  Tried other date time fields across entities and same behavior. This does not seem to be a problem in CRM 4.0. Not sure if a recent rollup introduced this?  We are on rollup 15 at this time.  Setting the focus from any other type of field to another seems to work ok.

    Thank you,


    Robert


    • Edited by rdt1234 Friday, June 13, 2014 9:06 PM
    Friday, June 13, 2014 9:05 PM

All replies