Form scripts not all running when form distributed
I have developed a form for users to fill in. I have 7 project text fields. Only project 1 is enabled at the beginning. Once you fill in project one it enables project 2 text field and call a template page for project one details. The text field for project 2 is also gray when it locked(When project 1 is blank), as soon as you type something into project 1 it unlock as mentioned and changes the color fro gray to white.
This all works perfectly. as soon as I distribute the form only the code that changes the color of the text fields work. The project 2 text field changes to white as its supposed to do but it does not unlock and the template of project 1 does not open. Why would only some of the code work when distributed?

