Returns item's value (for inputs only).
Parameters:
var value = myForm.getItemValue("myInput");
See also:
Details:
In case of item calendar, the method returns the value as a Date object. If you need to get the value as a string with the specified date format you should specify the 2nd parameter and set it to true:
var value = myForm.getItemValue("myCalendar", true);