SetFieldValue on DisplayForm

Forums Dynamic Forms for SharePoint SetFieldValue on DisplayForm

Viewing 1 reply thread
  • Author
    Posts
    • #35854
      Lahoud Halim
      Participant

      Hello,

      can i use SetFieldValue on the display form because it is not working and if not is there a alternative

    • #35861
      Alexander Bautz
      Keymaster

      Hi,
      You are right, using setFieldValue in DispForm doesn’t work. In NewForm and EditForm when setting a field value you are saving the form afterwards, but in DispForm you don’t do that.

      To set a value in DispForm you must use custom js – read this thready to find examples of how to do that: https://spjsblog.com/forums/topic/query-update-delete-an-item-in-javascript/

      Alexander

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