James

Forum Replies Created

Viewing 5 posts - 1 through 5 (of 5 total)
  • Author
    Posts
  • in reply to: Vlookup using date time values #38347
    James
    Participant

      I also apologize for the typos. My phone keeps auto correcting.

      in reply to: Replicating infopath dropdown with values #36313
      James
      Participant

        I read through the code again and missed a punctuation. Everything is working on the drop down now. The only follow up challenge we are running into is the variations of JavaScript I’ve written are not able to calculate an average using the values. It continues to provide an error of NaN. The most recent version I tried was in rules using this code.
        {inline}
        setFieldValue(‘myfield1’, ((“myfield2” + “myfield3” + “myfield4”)/3))
        When I tried writing a function in the custom js tab it is canceling the drop down functionality.

        in reply to: Replicating infopath dropdown with values #36310
        James
        Participant

          Thank you very much. The custom is no longer has any errors on it. I have one last follow up question and I could not find anything in the JavaScript sections of prior questions.
          I have the code fully entered in the custom js tab, but the field is still not reacting to the function. Am I missing a step to execute the function? I saw references to cewp on some of your older posts but I’m not seeing that option anywhere. My apologies for all of the extra questions on this

          in reply to: Replicating infopath dropdown with values #36307
          James
          Participant

            I have been trying to leverage this and can’t seem to get past an error on line 11.
            b.push(“<option value=”>—</option>”);
            It is giving an unclosed regular expression error. I’be never used JavaScript prior so I apologize if this is a simple mistake on my part.

            in reply to: Replicating infopath dropdown with values #36291
            James
            Participant

              My apologies for the delay. The share point field is a choice field with drop down. The values that reflect on the Sharepoint list are 0-3. The drop down in the form displays text of proficient or not proficient, creating a score of 3 or 1. The value portion is then used in a calculated single line of text field to generate an overall average score. Essentially the functionality needs to display an unrelated choice in the drop down but the field only receives the value on the list.

            Viewing 5 posts - 1 through 5 (of 5 total)