Input Text box

Let’s say I have four input text boxes and a button “Start”, and I want this button to be actived only when user has key in the data into the three compulsory text boxes. The remaining one is optional.

So, what can be done and how? Hope someone could help me.