+ Start a Discussion

how to disable field or make it in active by clicking button in custom pagelayout

Need to disable some fields after a button si being clicked so that field cannot be edited further.
How can we do it .
change record type when button pushed. use pagelayout assignment.  
is it possible to achieve through Javascript