vLookup Get ParentID to use in javascript

Home Forums vLooup for SharePoint vLookup Get ParentID to use in javascript

Viewing 1 reply thread
  • Author
    Posts
    • #9474
      Baney
      Participant

        I have a vLookup for a parent of “Headings” with children “Steps”. On the new form, I need to find out what the max step number was used and increment it by one.

        For example:

        1.00 My First Heading
        1.01 My First Step
        1.02 My Second Step

        When I click Add New Child, I need it to set the step number to “1.03” automatically.

        My question is, how can I get the parent ID on the new form? (I know how to get the children once I have that using the SharePoint javascript api).

        Also, do I need to put the javascript method in the “custom js” tab in DFFS? This is the first time I’m customizing this at the javascript level.

      • #9482
        Alexander Bautz
        Keymaster

          Hi,
          I’m not sure I completely understand what you are attempting.

          In the parent list, does the “heading and steps” exist in the vLookup column only (pulled from the child list) or is it actual fields in the parent list?

          Alexander

      Viewing 1 reply thread
      • You must be logged in to reply to this topic.