I am looking to make an email order form easier to use. We implement a client code system, and so there is a client code field at the top of the form. However existing clients who choose to enter their client code still have to scroll through all the client / contact details which are not relevant to them.
How would I go about hiding or fading certain fields in the form such as 'company name' 'phone number' etc. if a client code is entered. I am not terribly interested in validating the client code for accuracy.
It might be useful if there was a way to optionally edit client information, by expanding the form if necessary.