I have a infopath form published on sharepoint site. There is a field with reference number that need to be filled automatically based on date.
11.apr.2019 and reference number should be 0001 ( no matter how many forms are generated)
12.apr.2019 reference number should be 0002 for all forms created.
Is there any workaround on this?