I'm performing a very simple step as seen in the following code:
On the same form, I have several date fields that must also be tested. Rather than write each one out, could someone show me an example of iterating through an array of fields and updating the values as needed? Thank you!
Code:
var d = new Date("Cancelled Date");
if (d.getFullYear< "1900")
{
SetFieldValue( "Cancelled Date", "");
}
On the same form, I have several date fields that must also be tested. Rather than write each one out, could someone show me an example of iterating through an array of fields and updating the values as needed? Thank you!