I need to write a very simple script but I'm having trouble even getting started. How to I refer to objects on my form in my code? I want to take a time value from one text box, round it to the nearest quarter hour, then put that rounded value into a different text box.
I can't figure out how to refer to these text boxes. I'm writing in VBScript on InfoPath 2003.
I'm looking at something like this to complete the rounding: Round(field1*96,0)/96
What would i put where field1 is? Or am I totally off the mark here?