Populate text in field 1 based on calculation in another field

Hello,
Currently, I have a calculated field that is the sum of 7 numeric fields. I then have a text field that I would like to populate based on the calculation.
For example, if the value in the calculated field (Total) is "27", textfield should read "Great Job". If Total is >27, the textfield should read "Keep Trying".
I have two questions... What script should I try? and Where should the script reside?
I have tried to add script in the 'change' section of the Total field, but since the user is not changing this field (it is calculated), the script is not being triggered. I have tried the script in the 'change' section of each of the 7 numeric fields, but am having trouble referencing the Total field value.
Any help would be appreciated.
Thanks
E

Eric,
I added 8 Numeric Fields named MonTotal, TueTotal, WedTotal, ThurTotal, FriTotal, SatTotal, SunTotal and WeekTotal.
I added a FormCalc script to the calculate event of the WeekTotal Numeric Field shown below:
form1.#subform[0].MonTotal + form1.#subform[0].TueTotal + form1.#subform[0].WedTotal + form1.#subform[0].ThuTotal
+ form1.#subform[0].FriTotal + form1.#subform[0].SatTotal + form1.#subform[0].SunTotal
Once I saw the calculation was working I inserted a new text field named "Comment" and a standard button (Labeled "Click on Completion" and added a FormCalc script to the click event of the standard button shown below:
if (form1.#subform[0].WeekTotal == 27) then
form1.#subform[0].Comment = "Great Job!!!"
elseif (form1.#subform[0].WeekTotal > 27) then
form1.#subform[0].Comment = "Keep Trying!!!"
endif
Hopefully this is helpful.
Have a great day!
Pam

Similar Messages

  • Need to populate text/ref fields for docs generated by allocation cycles

    When executing distribution or assessment cycles the doc header text, reference field and line item text are all left blank in the generated accounting document.  We would like to populate these fields with some reference to the cycle or segment names.  Is there any doc type or cycle setting or standard config that would allow us to populate these fields without the use of an exit?  Thank you in advance.

    Hi
    Goto GGB1 TCode
    under Cost Accounting you can find three allocation areas
    Find out right one and create new substitution rule to update text or ref
    Reg
    Vishnu

  • Find/Replace text in one Doc based on List from another Doc

    I'm not sure Automator can do this so I thought I would ask before spending too much time on it. I have searched the forums and several of the Automator tutorial websites.
    What I want to do is take one text file (or it could be an Excel file, I don't care) with a list of words to Find in a folder full of files.
    For example I have this list in a txt file:
    Big Dog
    Furry Cat
    Bird
    Fox
    I would want the action to search every document for every occurrence of 'Big Dog', then search for every occurrence of 'Furry Cat', etc. I would also want to replace each instance with something else, say a formatted html link.
    Is something like that even possible with Automator? I am on Snow Leopard but I didn't see a forum for Automator on SL. Thanks in advance for any help/advice.

    Asked and responded here:
    http://discussions.apple.com/thread.jspa?messageID=8367522
    Yvan KOENIG (from FRANCE vendredi 14 novembre 2008 14:22:47)

  • Auto-fill text box field values based on pulldown selection

    Trying to fill in address, city, state, zip text fields based on option selected in a select form field. The following code works great in Internet Explorer, but in Chrome or Firefox, after making selection, text fields are populated with the word "undefined."
    I've found a PHP version of Jquery script here that would probabably fit the bill.
    http://stackoverflow.com/questions/3657127/jquery-populate-text-input-from-table-based-on- select-value
    Maybe someone has a CF version they could share?
    Thanks in advance to any who can point me to a solution for this code, or a better way to accomplish my need.
    <!--- Destinations with auto-fill of address, city, etc. --->
    <script type="text/javascript">
          function selectAddress(list) {
                // assume first item is empty
                if (list.selectedIndex > 0) {
                      var locationID = list.options[list.selectedIndex].value;
                      var locationAddress = list.options[list.selectedIndex].locationAddress;
                      var locationCity = list.options[list.selectedIndex].locationCity;
                  var locationState = list.options[list.selectedIndex].locationState;
                  var locationZip = list.options[list.selectedIndex].locationZip;
                  document.getElementById('locationID').value = locationID;
                      document.getElementById('locationAddress').value = locationAddress;
                      document.getElementById('locationCity').value = locationCity;
                  document.getElementById('locationState').value = locationState;
                  document.getElementById('locationZip').value = locationZip;
    </script>
    <tr>
    <td align="right" bgcolor="#FFFFFF" valign="top">Name of Destination</td>
    <td align="left" bgcolor="#FFFFFF" valign="top">
       <select name="locationID" onChange="selectAddress(this)" class="smallforms">
                 <option value="">SELECT DESTINATION ››››››››››</option>
                 <cfoutput query="allLocations">
                       <option value="#locationName#" locationAddress="#allLocations.locationAddress#" locationCity="#allLocations.locationCity#" locationState="#allLocations.locationState#" locationZip="#allLocations.locationZip#">#locationName#</option>
                 </cfoutput>
            </select> 
          Other: <cfinput name="destinationNameOther" type="text" class="smallforms" size="75">
          <br />
           <input id="locationID" name="locationID" type="hidden"><br>
             Address:    <input class="smallforms" id="locationAddress"    name="locationAddress"    type="text" size="30"> 
             City:       <input class="smallforms" id="locationCity"    name="locationCity"    type="text" size="20"> 
             State:       <input class="smallforms" id="locationState"    name="locationState"    type="text" size="2"> 
             Zip:       <input class="smallforms" id="locationZip"       name="locationZip"       type="text" size="8"><br />
    <br />
    </td></tr>

    Thanks a million for the help Steve, the array is being created in source as follows: 
    <script type="text/javascript">
    var addresses = [
       "locationName": "Airport Park School",
       "locationAddress": "",
       "locationCity": "",
       "locationState": "WI",
       "locationZip": ""
       "locationName": "American Legion Golf Course",
       "locationAddress": "1001 Golf Club Road",
       "locationCity": "Wausau",
       "locationState": "WI",
       "locationZip": "54403"
    but I'm lost at the
    // reference as address[index].locationName...address[index].locationZip where index = 0-[arraysize-1]
    direction, and just to double check, you named the Javascript var "addresses", so the "reference as address" s/b "reference as addresses" right?
    I've tried many iterations of "onchange" adding other variables (locationCity, locationZip, etc.) but coming up empty.
    Anyway, I wish I could buy you a beer or two for the help . . .
    Here's where I'm at, which ain't working. If you have a minute to look over, it would be MUCH appreciated. Try not to laugh at my (what's probably ugly) Javascript code:
    <!--- Code from Steve @ Adobe.com CF Forum --->
    <script type="text/javascript">
    var addresses = [
    <cfset variables.fs = "" />
    <cfoutput query="allLocations">
      #variables.fs#{
       "locationName": "#jsStringFormat(locationName)#",
       "locationAddress": "#jsStringFormat(locationAddress)#",
       "locationCity": "#jsStringFormat(locationCity)#",
       "locationState": "#jsStringFormat(locationState)#",
       "locationZip": "#jsStringFormat(locationZip)#"
      <cfset variables.fs = "," />
    </cfoutput>
    // reference as address[index].locationName...address[index].locationZip where index = 0-[arraysize-1]
    </script>
    <tr>
    <td align="right" bgcolor="#FFFFFF" valign="top">Name of Destination</td>
    <td align="left" bgcolor="#FFFFFF" valign="top">
      <select name="locationID" class="smallforms"
      onChange="var locationAddress = addresses[list.selectedIndex].locationAddress;">
                 <option value="">SELECT DESTINATION &#8250;&#8250;&#8250;&#8250;&#8250;&#8250;&#8250;&#8250;&#8250;&#8250;</option>
                 <cfoutput query="allLocations">
                       <option value="#locationName#">#locationName#</option>
                 </cfoutput>
          </select> 
      Other: <cfinput name="destinationNameOther" type="text" class="smallforms" size="75">
      <br />
      <cfoutput>
       <input id="locationID" name="locationID" type="hidden"><br>
       Address:  <cfinput class="smallforms" id="locationAddress"  name="locationAddress"  type="text" size="30"> 
       City:   <cfinput class="smallforms" id="locationCity"   name="locationCity"  type="text" size="20"> 
       State:   <cfinput class="smallforms" id="locationState"   name="locationState"  type="text" size="2"> 
       Zip:   <cfinput class="smallforms" id="locationZip"   name="locationZip"   type="text" size="8"><br />
      </cfoutput>
    <br />
    </td></tr>
    Thanks again Steve . . . much appreciated!

  • Populate text field based on the lov selected value

    Hi,
    based on the value selected in lov, i want to populate another text field. Below is the code I have written
    In PFR:
    if(pageContext.isLovEvent())
    String lovInputSourceId = pageContext.getParameter(SOURCE_PARAM);
    if ("lovCategory".equals(lovInputSourceId))
    java.util.Hashtable lovResults = pageContext.getLovResultsFromSession(lovInputSourceId);
    if(lovResults!=null)
    String value =(String)lovResults.get("lovCategory");
    amobj.categorycode(value);
    AMImpl code:
    public void categorycode(String code) {
    sundryCodeVOImpl vobj = getsundryCodeVO1();
    vobj.setWhereClause( "lookup_code = "+"'"+code+"'");
    vobj.reset();
    vobj.executeQuery();
    String desc = vobj.first().getAttribute("Description").toString();
    String attr = vobj.first().getAttribute("Attribute1").toString();
    testEOViewImpl vobj1 = gettestEOView1();
    vobj1.getCurrentRow().setAttribute("CodeDescription",desc);
    vobj1.getCurrentRow().setAttribute("PurchasingCategoryCd",attr);
    vobj1.executeQuery();
    With this code, the updated values for the attributes CodeDescription, PurchasingCategoryCd are getting inserted into the database table but they are now showing up in the text fields when a value is selected in lov.
    Please tell me what is the mistake I'm doing.
    Thanks
    Sunny

    I'm using Lov Map to populate the lov field say field A. But I need to populate another field say field B based on the value selected in field A.
    to give an example of my requirement. Consider a view object having attributes col1,col2,col3 and having following data.
    col1--col2--col3
    1-----a-------x
    2-----b------y
    3-----c------z
    I 'll populate the lov of field A with values in col1. when user selects value 1 in field A. automatically field B should show value 'a'. If user selects value 2 in field A, field B should show value 'b' so on.
    Thanks
    Sunny

  • Populate field based on selection from another field?

    I'm using a Data Connection with a SQL query that returns two fields (StNameFull and ADDRKEY). I have a drop-down list called "Address" with the list items dynamically bound to StNameFull, so the user can select the address.
    What I'm trying to do is populate the second field "Key" with the corresponding record, based on the selection made from the drop-down list.
    Is it possible to script this so that when the Address is selected the Key will automatically fill in with the key that matches the address selcted?
    I currently have "Key" as a text field bound to ADDRKEY, but not sure how to have it check what was selected in "Address"
    Thanks so much,
    - Kevin

    Yes it is possible but you will have to write some script to do it. You wil also have to ge the DataConenction to execute a SQL statement. There is a good blog on this topic at this location:
    http://forms.stefcameron.com/2006/09/29/selecting-specific-database-records/
    Paul

  • How to populate text fields with data present in a table

    Hi,
    The page i'm building has got a select list for the primary key column and text fields corresponding to rest of the columns in the table.
    upon selecting some value from the list, the data corresponding to that row should get populated in the respective items. I don't want to add source in each item. can't i create a process or something else where this is done for each item.
    for eg there's a table with columns A(primary key) and B.
    there is a text fields on this page.
    this textfield should populate the data from the table whenever i submit the page such that teh value in B is select B from tablename where A = the selected value.
    Thanks
    Dhirendra

    So I assume page was not built using a wizard. Why on earth you would want to I dont know, but you could create an "After Header" pl/sql process to populate the relevant fields, assuming the id was know on entry to the page. If you want to select the id on the page and then populate the fields, guess you will need to use a "Text Field (always submits page when Enter pressed)" and then use an "On Submit" process to populate the items.
    If you are using an Automated Row Fetch, remember to select "Set memory Cache on Fetch" in that process.
    Hope this helps.

  • Auto populate text fields with a trigger such as entering text into input fields in ADF

    Hello all,
    I am not able to auto populate text fields with a trigger such as entering text into input fields in ADF.
    I tried AdfFacesContext.getCurrentInstance().addPartialTarget(val); in the back end using setter method of input text field.
    its not working ..
    is there any way to achieve it
    Regards,
    Shakir

    Hi,
    Always mention your JDev version.
    The valueChangeListener would fire only when you set the autoSubmit property of the field to true. Can you elaborate your requirement? What do you mean by related data? Are you performing some sort of search?
    If you want to get the value you entered on the field, just set autoSubmit to true and get the new value from the valueChangeListener. If your requirement is something like as and when you type, do something, you need to check out this approach :https://blogs.oracle.com/groundside/entry/auto_reduce_search_sample
    -Arun

  • Changing field text color and fill based on input value.

    I am trying to create a field that can be red, yellow or green.  In the end, what I need is a box that can be made red, yellow or green by the form user.  My strategy is to use a validation script to change the field and text color based on the field input.  So if you type "red", the text and field turn red, essentially making a red box.  The field is named "GoalColor".
    Am I headed in the right direction to get make this dynamic colored box?
    This script works but you must type "red" into the field(including quotation marks).  Any ideas on why the word red alone isn't triggering it? 
    var vcolor = this.getField("GoalColor").value;
    if (vcolor == "red") {
        this.getField('GoalColor').fillColor = color.red;
    } else {
        this.getField('GoalColor').fillColor = color.white;
    I have also tried - works if you type 'red'
    var vcolor = this.getField("GoalColor").value;
    if (vcolor == 'red') {
        this.getField('GoalColor').fillColor = color.red;
    } else {
        this.getField('GoalColor').fillColor = color.white;
    and  - does not work
    var vcolor = this.getField("GoalColor").value;
    if ( vcolor == red ) {
        this.getField('GoalColor').fillColor = color.red;
    } else {
        this.getField('GoalColor').fillColor = color.white;
    Thanks!

    And you don't need to add the quotation marks in the text field. In fact, doing it will cause the script not to identify the word.

  • Would like to use apex_item to popup a calculator for a text item field, is this possible in apex 4.2.2?

    would like to use apex_item to popup a calculator for a text item field, is this possible in apex 4.2.2?

    I imagine you could reverse engineer what APEX delivers when you declaratively choose text field with calculator.
    For example, the generated source includes an event:
    onclick="calculatorPopUp_p_t01();"
    These get added to the attributes of your apex_item.text() call.
    Alternatively you just paste the entire generated content, escaping the necessary data.

  • How to populate the new field of R/3 in BW

    Hi,
    There was a requirement to modify the sap screen in the R/3.
    For the same a new field is created which populate the data via a table in R/3.
    Now I have to populate the same field in BW. I am working on 3.5 Version.
    In R/3 I have a data source and I am not able to see the same available in the data source
    The field is available in the extract structure but I am unable to populate the same in the data source.
    Kindly help.

    The Data Source is picked from the FM.
    Also,my requirement is to display the text values for the new field
    I am going to create a Generic Master Data which will fetch the data from the table which has fields (Code, Langu and the text) and replicate the same to BW.
    Now to populate the code in BW, I need to have the field in the data source and from there I can add the same code field in the bw comm/tran/etc...
    The code is available in the Extraction and not in the data source.
    At the reporting level I will extract the report based on key and text.
    I tried using ROOSFIELD to populate the field in the datasource, but I am not able to do the same.

  • Look-up to DB after entering text in field

    I've been browsing the forum for quite a while now and cannot find the answer to my problem.
    We've been using LC for months now but we now need to figure out how to have a look-up to a dabatase after the user has entered text in a field.  Based on the text entered, a list will appear which matches the text entered by the user so that the user can choose the appropriate record which will then populate numerous other fields on the form.
    Usually, the field the user needs to enter text in is the 'Last Name' field and let's say I enter 'Hill' the look-up would return all last names in the database that contain 'Hill'.  The list that appears should also contain numerous other columns of data in addition to the last name (such as first name, middle initial, etc.) in order to ensure the user is choosing the correct person.  Once the user chooses the correct person, numerous other fields on the form that are 'read only' will then populate automatically.
    In the software we've been using for years we achieve this using an SQL statement, however, have tried to use it in LC and it does not work.  I've been able to get the connection made and to have various fields populate with either the first record in the database or a specific record based on my SQL statement, however, I need to know how to not have the database connection execute immediately, but rather wait for the user to enter text in the field and then proceed to filter the records in the database and display all the matching options.  If I check any of the 'delay' options it just leaves the fields blank.
    Is there a way in LC to make it function the way I need it to?  I'm new to scripting and SQL, so please be very specific.
    Thanks for any help !
    Lena

    Hi Paul,
    Under the sample zip file it gives the following instruction "Use the FormBuilderDB20060929.sql file to build the database, create an ODBC Connection named “FormBuilderDB” and load the form".  I've been able to go in under Administration Tools to create a database named FormBuilderDB but which driver should be used?  When I'm in LC under the database connection, it doesn't seem to like the driver I've chosen (Microsoft ODBC for Oracle)...should it be another one???  It also wants a User Name and Server.....what should go in these???  Where should the FormBuilderDB20060929.sql file go???
    Also, this sample uses a drop-down field initially which is not what I need....the user should be typing their last name in a text field and then when they tab out that's when the link to the DB should be activated and all records that match what has been typed should appear.....is that functionality not possible or is it just different coding required?  Perhaps I'm in way over my head on this.
    Thanks for any help.
    Lena

  • Update routine to populate value for field ZDOCCATG(Document category)

    Hi Experts,
       I need to populate  data for field ZDOCCATG(Document Category) based on the value of the below  two fields,
    1. 0deb_cre_lc(Debit / credit Amount)
    2. 0ac_doc_typ(Belegart)
    The logic is as follows:
    if 0deb_cre_lc > '0'.
         if 0ac_doc_typ == 'dz'.
          ZDOCCATG = Disputes.
         else
      ZDOCCATG = Invoices.
       end If.
    else
    if 0ac_doc_typ < '0'.
    ZDOCCATG = Credits.
    end if.
    I need to write the update routine to get the values assigned for Document category based on these two fields. When i open the routine for the field ZDOCCATG, i can see the below screen:
    PROGRAM UPDATE_ROUTINE.
    $$ begin of global - insert your declaration only below this line  -
    TABLES: ...
    DATA:   ...
    $$ end of global - insert your declaration only before this line   -
    FORM compute_data_field
      TABLES   MONITOR STRUCTURE RSMONITOR "user defined monitoring
      USING    COMM_STRUCTURE LIKE /BIC/CS80FIAR_O03 - (Communication structure)
               RECORD_NO LIKE SY-TABIX
               RECORD_ALL LIKE SY-TABIX
               SOURCE_SYSTEM LIKE RSUPDSIMULH-LOGSYS
      CHANGING RESULT LIKE /BIC/AZOARFSCM00-/BIC/ZDOCCATG
               RETURNCODE LIKE SY-SUBRC "Do not use!
               ABORT LIKE SY-SUBRC. "set ABORT <> 0 to cancel update
    $$ begin of routine - insert your code only below this line        -
    fill the internal table "MONITOR", to make monitor entries
    result value of the routine
      RESULT = .
    if abort is not equal zero, the update process will be canceled
      ABORT = 0.
    $$ end of routine - insert your code only before this line         -
    ENDFORM.
    Please let me know the code to be inserted (based on the logic mentioned above) in the above screen . Thanks
    Regards,
    Kavitha Jagannath

    Hi Kavitha,
          Supposing the technical name of fields is /bic/0deb_cre_lc and /bic/0ac_doc_typ use the code below at the marked position.
    PROGRAM UPDATE_ROUTINE.
    $$ begin of global - insert your declaration only below this line -
    TABLES: ...
    DATA: ...
    $$ end of global - insert your declaration only before this line -
    FORM compute_data_field
    TABLES MONITOR STRUCTURE RSMONITOR "user defined monitoring
    USING COMM_STRUCTURE LIKE /BIC/CS80FIAR_O03 - (Communication structure)
    RECORD_NO LIKE SY-TABIX
    RECORD_ALL LIKE SY-TABIX
    SOURCE_SYSTEM LIKE RSUPDSIMULH-LOGSYS
    CHANGING RESULT LIKE /BIC/AZOARFSCM00-/BIC/ZDOCCATG
    RETURNCODE LIKE SY-SUBRC "Do not use!
    ABORT LIKE SY-SUBRC. "set ABORT <> 0 to cancel update
    $$ begin of routine - insert your code only below this line -
    fill the internal table "MONITOR", to make monitor entries
    result value of the routine                 
    <----- Paste the code below as shown here --->
    if comm_structure-/bic/0deb_cre_lc > 0.
      if comm_structure-/bic/0ac_doc_typ == 'DZ'.
       result = 'DISPUTES'.
      else
       result = 'INVOICES'.
      endIf.
    elseif comm_structure-/bic/0deb_cre_lc < 0.
      result = 'CREDITS'.
    end if.
    <----
    >
    if abort is not equal zero, the update process will be canceled
    ABORT = 0.
    $$ end of routine - insert your code only before this line -
    ENDFORM.
    Regards:
    Jitendra
    Edited by: Jitendra Gupta on Oct 15, 2009 3:05 PM

  • End Routine to populate custom AFS field for Billing Item extractor

    I have the following scenario for Billing 2LIS_13_VDITM datasource
    Doc_No   Item  Material    Item_Categ   AFS_field
    2000        11     XYZ          123
    2000        12     XYZ          123                  US1
    3000        11     PQR          456                 
    3000        12     PQR          456                  CA1
    I need to populate the AFS_field in the first row also for all Doc Nos for certain Item categories (eg 123 & 456). I need to do this on the first transformation from PSA to DSO. I was planning to write a SELECT statement in the Start Routine with the PSA table as the reference as seen below and then write an End Routine calling this reference table. But the PSA table name is different in Dev, QA and Prod so I cannot use this.
    TYPES: BEGIN OF S_AFS,
    VBELN TYPE C LENGTH 10,
    PSTYV TYPE C LENGTH 4,
    MATNR TYPE C LENGTH 18,
    J_4KRCAT TYPE C LENGTH 16,
    J_4KSCAT TYPE C LENGTH 16,
    END OF S_AFS.
    DATA: LT_AFS TYPE STANDARD TABLE OF S_AFS,
          LS_AFS TYPE S_AFS.
    DATA: LT_DATA TYPE tyt_SC_1.
    LT_DATA[] = SOURCE_PACKAGE[].
    SORT LT_DATA DESCENDING BY VBELN MATNR J_4KRCAT.
    DELETE ADJACENT DUPLICATES FROM LT_DATA COMPARING VBELN MATNR.
    SELECT VBELN MATNR J_4KRCAT J_4KSCAT
    INTO CORRESPONDING FIELDS OF TABLE LT_AFS
    FROM /BIC/B0000777001
    FOR ALL ENTRIES IN LT_DATA WHERE VBELN = LT_DATA-VBELN AND MATNR =
    LT_DATA-MATNR.
    SORT LT_AFS BY VBELN MATNR.
    I am not an expert in writing ABAP code. Any suggestions are greatly appreciated and points will be assigned. Thank you.

    Hi
    why do want to select the data from PSA table ?Already your trying to load data from PSA to DSO.
    you want to populate the AFS field value in DSO right?
    1. First you have to add AFS field in ur DSO
    2. Write the Start routine based on ur scenario(select the data based on ur scenario and put into internal table).
    3. wirte AFS field leval  transfer routine(Read the corresponding record based on docu num,item num) pass into RESULT.
    Regards,
    GR

  • Conditional display in textbox based on calculated value

    Hello,
    I have radio buttons that each have a numeric value. For example A=1 B=2 C=0. In the example below, the total equals 5.
    The sum is displayed at the bottom of the document and is passed to another text box:
    Instead of "5" being displayed in the text box on the right, it needs to display a word "Mastery" like this:
    The word displayed is based on the totals via this range:
    1 to 2 = "Acquiring"
    3 to 4 = "Practicing"
    5 to 6 = "Mastery"
    The script I used to pass the value from the left to the right text box in the graphic above is:
    // name for the text box field;
    var cTextBox = "Firm-Wide Talent Strategy Knowledge - Totals";
    // get the value of the field with the name in cTextBox;
    var sTextBox = this.getField(cTextBox).value;
    // set the value of this field;
    event.value = sTextBox;
    What would I need to add to this script to display one of the words, such as "Mastery" above?
    I'm a complete neophyte to scripting. I found the script above online and somehow got it to work.
    Thank you all very much for any help or pointers you can provide.
    Best Regards,
    Chris

    Hi try67,
    Thank you so much for your help. Your code has brought me one step closer, I would never have gotten even this far without it!
    Initially, it was giving me and error, so I added a ")" and now it does display "Mastery", but I cannot get it to display the other two ("Acquiring" and "Practicing"), it just displays a blank space but does not give me an error.  I tried to fix it on my own by searching for some help, so I found and started playing around with jsbeautifier.org and JSLint. However, since I really don't know much about coding or syntax I hope these were not harmful. So now the code looks like this:
    // name for the text box field;
    var cTextBox = "Firm-Wide Talent Strategy Knowledge - Totals";
    // get the value of the field with the name in cTextBox;
    var sTextBox = +this.getField(cTextBox).value;
    if (sTextBox >= 1 && sTextBox <= 2) {
        event.value = "Acquiring";
    if (sTextBox >= 3 && sTextBox <= 4) {
        event.value = "Practicing";
    if (sTextBox >= 5 && sTextBox <= 6) {
        event.value = "Mastery";
    } else {
        event.value = "";
    Do you know what I might be missing that prevents "Acquiring" and "Practicing" from displaying? 
    Thank you so much again for your help,
    Chris

Maybe you are looking for

  • A Few Anomalies

    After waiting a long time I was finally able to upgrade my iMac and install Aperture. For the most part I am pleased with A3 except for getting used to certain anomalies and instability issues encountered in this early version. I have used iPhoto for

  • How do i get facebook notifications from facebook to my ipad with ios6?

    on my ipad notifications are not coming up on my lock screen like they do on my iphone. How do i get them on my ipad?

  • Question to Ravi sankar venna

    Dear Ravi we customized to check the dulication invoice check . but some time some duplication invoices accounted. Can you provide steps for customization level and master data level. Tamil Selvan

  • Require Help on Load Testing for Oracle Applications

    Hi, I have to do a Load Testing on Oracle Application 11i. I am not able to understand from where do I need to start. Could any one please help on this ? Ramu.

  • Missing Features on a q10reeditt​ed

    After a month of brain storming I can now say with some authority that features which meant a lot in bb9900 are lined below - 1) one touch speed dial is not really 1 touch at min is 3 touch 2) there is no saved message option 3) in case a mail could