Sorry, I may not have described properly what i'm trying to achieve. there's a field that i would like to autopopulate every time a new form is opened from a template. the value that I would like to have in the field is e.g "PC-" and a number that would be +1 from the field previously populated in the form that was last created in the library. Or the other option is to apply some logic for generating the number, the important thing is that the number is unique, i.e. it does not duplicate any other ones that were generated before.
Thanks again!