You can choose to display the time in a separate 'time' field or
concatenate it into the same field as the
date.Example:this.resolveNode("$").rawValue = util.printd("HH:MM:ss",
new Date()); //in your dateTimeField, this will display the time with
seconds and leading zeros. eg: 14:08:37If you wish to have the date and
time in the same DateTimeField://show the date and time separated with a
space.this.resolveNode("$").rawValue = util.printd("dd-mm-yyyy", new
Date()) + " " + util.printd("HH:MM:ss",...
The formattedValue is a field's rawValue modified by a pattern. You'll
use those generally on numeric or date fields but not in dropdown lists.
Use the rawValue instead like this way: // Declare variablesvar oDoc =
event.target,cTo = Manager.isNull ? "" : Manager.rawValue, // If field
is empty return empty string instead of nullcSub = (Location.isNull ? ""
: (Location.rawValue + " ")) + (Department.isNull ? "" :
(Department.rawValue + " ")) + (Subj.isNull ? "" : Subj.rawValue);//
I have a form to document payroll exceptions. If the user has more than
one date for being absent they will click a button to add more dates. As
the table grows I'd like a box at the top of the form to calculate how
many hours they are reporting. Any suggestions/thoughts would be