Auto-populate a field with the date it was created as mmddyy-XX.
Hello,
I am trying to auto-populate a text field with the format being mmddyy-XX. The date is when it was created and XX being the number of forms created that day. I used the custom script:
this.addScript("init", "var f = this.getField(\"FORM#\"); if (f.value==\"\") f.value = new Date();");
to calculate and changed the format to date -> custom, and entered mmddyy. I am trying to figure out how to automize the XX portion so that it starts from 01 to however many forms were created that day.
Thanks in advance and feel free to ask me more questions about this
