Set Value on Display Form

Discussions about Forms Designer for SharePoint 2013 / 2016 and Office 365.
Locked
User avatar
schuess
Posts: 82
Joined: Wed Jan 22, 2014

22 Jan 2016

Is it possible to set a fields value using JavaScript on a Display Form?

User avatar
rostislav
Moderator
Posts: 364
Joined: Mon Oct 19, 2015

25 Jan 2016

Not in a straight-forward way, no. Display form is for displaying an entity, not editing it. However, you can use JSOM to update the entity in the database and jQuery to update the value displayed in HTML (on the form), however that'd be a very odd thing to do and if you're asking this then probably you should rething what and how you're trying to achieve what you're trying to achieve.

Locked
  • Information
  • Who is online

    Users browsing this forum: No registered users and 14 guests