Xrm.Page.ui.control functions only run this actions (onload, onchange, onsave and onkeypress(2016 feature) ) This functions call in action. If it still does not work, try this methods and check fields.

Xrm.Page.getAttribute("fieldName") or Xrm.Page.getAttribute("fieldName").getValue()