How to get value from ID automatically from the form title

Is this something you are looking for: