Conditional webform: Yes no, if yes extra data

How would you design this?

  • Last tetanus vaccination: [YES][Then they fill in the year] - [NO]

Or more something like this:

design


Do you have an example how to design this? Thank you!

Demian