I have a public form with a "Sample ID" text field that contains a number that should increment by 1 with each new submission. I would like to provide that value as a default instead of requiring the user to type in a new value.
Currently when the user clicks "submit", the form remains open but all of the field values are deleted. Instead, I want the "Sample ID" field to already be populated, but the default value will change with each submission.