Copy link to clipboard
Copied
I have a form with dates that have different formats. I wanna be able to autofill all the dates but the problem is that the 1st field where in users will input the date has the typical mm/dd/yyyy format while the other has a Combo format of yyyymmdd. Is there a script that will allow the 2nd field to autofill in its required format?
Copy link to clipboard
Copied
Set the format of the 2nd field to date (Custom) and add the pattern "yyymmdd" in the box that show up. Then in the calculate action, add a custom JavaScript as follows. Change the field name to match your 1st field.
event.value = this.getField("firstDateField").value
Copy link to clipboard
Copied
Get ready! An upgraded Adobe Community experience is coming in January.
Learn more