-1
I have a form with a radio button with Individual and legal person. I want that if the person button is selected change the label attribute from html to CPF otherwise CNPJ, and apply the masks according to the selection.
I couldn’t find anything specific about it. I’m trying to do with PHP.
You can do this with PHP or just JS?
Javascript-only
– Felipe Duarte