Hi!
I have a question for you. In my form I have a time field (OreTotali) that I would like to fill with jscript code. I set the time that I want to display with this code:
c.setTime(vsot)
var h = c.getUTCHours();
var m = c.getUTCMinutes();
if (m<10) { var m = "0"+m; }
var oraintervento = h+":"+m
var sc87 = nodo.selectSingleNode("my:OreTotali");
if (sc87.getAttribute("xsi:nil"))
{ sc87.removeAttribute("xsi:nil"); }
sc87.text = oraintervento;
In the field appears the right value but the problem is that around the field there is the red dashed border and so I cant submit the form.
What I have to do for set the field "OreTotali" by jscript?
Thank you