Showing Reference Number for Webforms on Success Message

Hi I’m trying to make an online enrollment through web form, but I wanted to show a reference number (ID of the doctype) upon save. Not really sure if this feature is available. Below is what I did which I’m about to make a PR for it

Plan to do next:

  1. be able to print the success message or reference #

Link to my PR:

Why not use Jinja for this?

oh didn’t know it’s possible. So, its possible to create template without touching the frappe core?

did you solve this?

did you find solution?

Did you manage to solve it? I want to implement something similar on my server

Did you solve the problem?