Trying to overcome a JavaScript error in pdf
So as I mentioned in my subject... I'm receiving a warning javascript window error: stating "Invalid date/time: Please ensure that the date/time exists. Field [ArrestFile.1.Person.DOA] should match format yyyy/mm/dd". I tried changing the format but it says the same thing. Not sure how to overcome this?
I'm trying to make a field become disabled once you click a radio button.
This is the code that was already existing:
ClearRelated(event.target,this.getField("ArrestFile.1.Content.FullYN"));
ClearRelated(event.target,this.getField("ArrestFile.1.Content.PartialYN"));
ClearRelated(event.target,this.getField("ArrestFile.1.Person.DOA"));
I added this:
ResetPartialDOA(this.getField("ArrestFile.1.Content.PartialYN"),this.getField("ArrestFile.1.Content.PartialDesc"),this.getField("ArrestFile.1.Person.DOA"));
After adding this line of code I get the error.
Also how do I become better in troubleshooting as well as creating code so I don't have to rely this heavily on help?
Thanks for any!