Questions on mirroring fields with custom calculations
I'm trying to set up a form that is going to generate an expiration time based on a date and time entered in a form. In this instance, the date entered as the production date will create a date in the expired date field to be 1 day later but all I need to do for the time field is mirror it. I seem to be doing something wrong though and I'm not sure what:
I've got the production time field, titled as prodTime and I've got the expiration field labeled as expiredTime. I've got the custom calculation script set up to use event.value=this.getField("prodTime").valueAsString; which is what multiple threads I've been able to find suggest is the proper code for mirroring a field somewhere else on the form. In my case, I'm just getting a blank field. Any idea on what I'm doing wrong?