1) Go to Admin Menu->Field Layout->Custom Field and create a "Type" field (or whatever you'd like to call it). Note the 'Field ID' for the field as we'll use it in the script. 2) Create the other fields you want for IT and HR and then go to Admin Menu->Field Layout->Field Order and create sections for them (IT first and then HR). 3) Go to Admin Menu->General Setup->Customize Strings->All Strings tab and edit the sNewBugFooter string. Add the following script and then save changes (note that where it says "field1" you should write "fieldX" where X is the ID number of your Type field): Example 1: <script type="text/javascript" src="<SUB URLADD>&rand=<SUB rand>&page=com.other.FitJsDynamic"></script> <SCRIPT LANGUAGE='Javascript'> var fieldRD = "field5"; function showReportedDateWhenStatusR() { if (jQuery("#mStatus").val()=="Something") { showField(fieldRD); addMandatory( fieldRD, "Reporting Date"); } else { removeMandatory( fieldRD, "Reporting Date"); hideField(fieldRD); } setTimeout("showReportedDateWhenStatusR();",1000); } Example 2: <SCRIPT type="text/javascript" src="<SUB URLADD>&page=com.other.FitJsDynamic"></script> <script> // Trigger field var typeField= "field1"; // Here is the list of the sections. Right now you have to look at the page source to determine // the section ID numbers, but we could add them to the Field Order page. var IT = ["SECTION5"] //IT section // Here's an empty set we can use in some cases var NONE = []; // Now we do "showSectionsOnChange" for each value. There are five parameters // separated by commas. They are: // 1) Field (in this case the Type Field). // 2) Value that will be selected in the field (IT, HR, etc.) // 3) The list of sections to show when the value is selected. // 4) The list of fields to make mandatory when the values is selected. // 5) The list of field names corresponding to the list of mandatory fields showSectionsOnChange(typeField,"IT",IT,NONE,NONE); </script> /* How to hide/show fields based on a dropdown value */ <SCRIPT type="text/javascript" src="<SUB URLADD>&page=com.other.FitJsDynamic"></script> <script> function showFieldWhenParentFieldIsX() { showFieldIfSelected("field21","field26",["On"]); setTimeout("showFieldWhenParentFieldIsX();",1000); } showFieldWhenParentFieldIsX(); </script> /* How to hide/show a bunch of fields based on a checkbox */ <SCRIPT type="text/javascript" src="<SUB URLADD>&page=com.other.FitJsDynamic"></script> <script> // show a bunch of fields if field21 is visible function showRepairFields() { showFieldIfChecked("field21","field22",true); showFieldIfChecked("field21","field23",true); showFieldIfChecked("field21","field24",true); showFieldIfChecked("field21","field25",true); showFieldIfChecked("field21","field26",true); setTimeout("showRepairFields();",1000); } showRepairFields(); </script> </plaintext>