We are experiencing a strange issue, which can be reproduced by following below steps:
- Open New Task (Or any other entity)
- Enter text “Test Subject” in “Subject” field (or use any other field).
- Use this Xrm.Page.getAttribute("subject").getValue(); statement to get the value of subject’s field, it will return “Test Subject”.
- Now clear the subject field.
- Use this Xrm.Page.getAttribute("subject").getValue(); statement to get the value of subject’s field, it will return “Test Subject”, which is wrong value, the subject field is empty.
The Xrm.Page.getAttribute("subject").getValue()
returns
wrong value. We checked this issue in CRM 2011 and its ok the issue is specific to CRM 2013.
Waheed