If this is a problem that when you push the start button the unit runs, but as soon as you release the button the unit stops, then I have personally experienced this. It's a problem associated with the microcomputer board inside the control panel. You will need to unplug the dryer first. Then open the control panel and inspect the circuit board for burned components.
Usually answered in minutes!