Loading...

Populate Field in qListForm Using Javascript

Populate Field in qListForm Using Javascript

  • This topic is empty.
Viewing 4 reply threads
  • Author
    Posts
    • #5020
      Anonymous
      Anonymous
      Participant

      Hi Kristina,

        In order to get the field ID on a qListForm the customer has to use a developer tool and debug the page (in IE8 and 9 he can use the Developer Tool by pressing F12 and select the Script tab) see attached. Then he needs to search for the label of the field. Once he finds that the very next lane is the field that contains the id of the control.

      The custom javascript code would do the same then set the values.

      In the attached image a I have a field FirstName on my qListForm.

      Please let me know how it goes.

      Thanks,

      PS I attached the screenshot but it looks weird. Please let me know if you can see it properly.

      FieldId.png

    • #6400
      Anonymous
      Anonymous
      Participant

      Hello ,

      Thank you for the information, however, I am unable to see the screenshot posted.

      Thank you,

      Kristina

    • #6401
      Anonymous
      Anonymous
      Participant

      It's right below the PS line. Make click on it and it enlarges.

    • #4039
      Anonymous
      Anonymous
      Participant

      Hello,

      I am posting this for a customer.

      They want to populate a field in qListForm Web Part using Javascript in Content Editor Web Part. Is there any way to know the name of the text box in the web part to populate the data?

      Any information is greatly appreciated.

      Thank you,Kristina

    • #6402
      Anonymous
      Anonymous
      Participant

      ,

      I see where the image is but when I click on it, nothing happens. I also had a colleague try and same thing happens.

      Kristina

Viewing 4 reply threads

You must be logged in to reply to this topic.