We would like to have a new ERD number generated automatically in specific format after the user submits the form, after submitting the form user will be redirected to view page where he will be able to see all the details including the new ERD number..
ERD-20-0123 where 20 is the current year and the 0123 number that follows the sequence +1
I'm thinking to use the last ERD No as a starting point..
Henryk, text formulas are a little broken in recognizing fields sometimes. So try removing the date field from your formula and re-adding it by selecting it from the dropdown that appears when you start typing the field's name. That should make it recognize the field correctly.
If you need your id numbers to be 4 digits long, I would suggest adding an equation field that adds 1000 to your Auto Increment field, since Knack does not currently have a built-in way to zero-pad numbers, unfortunately.
If you need further help with this or anything else dev or Knack related, feel free to reach out to me at david@hmnd.io! :)