AnsweredAssumed Answered

Issue with JavaScript Custom code and assigning dates

Question asked by dstuart on Jun 27, 2017
Latest reply on Jun 29, 2017 by fhunth

Hello,

Hope someone can help out with this as we have been experiencing problems.

We currently have a form that has several date fields that should populate with a date once a separate Status value is assigned.

We are using the JavaScript shown in the attachment. The script should allow us to submit the form and depending on the Status assigned, Populate the associated date value in the form with (todays) date

The first assigned value will set the date today as expected.

 

The issue seem specifically around setting the value on the data field

val(currentDate)

 

This is not happening. It seems to not allow us to submit a value after the initial status is assigned. The date fields do not populate with the (Today) date as expected.

 

 Has anyone experience this and can help find a solution?

 

Thanks

 

Dave Stuart

Attachments

Outcomes