How to convert the anonymous name field into check box and hide username on page when the check box is check?

3.17K viewsWordPress
0

I am able to display anonymous  field as name with input box. Is there any way to convert this input field as checkbox and hide the user name from the details page based on the checkbox selected or not ? Please reply its urgent for me?