How to print message based on radio button selection in html page

How to print message based on radio button selection in html page

i have a problem, when User select "No" in Contact Form, i need to print following message in html page to print pdf.


"Please dont contact Customer"

How to write code for this condition in html page?