Conditional fields not working with copied source code