Page 1 of 1

Set Value on Display Form

Posted: 22 Jan 2016
by schuess
Is it possible to set a fields value using JavaScript on a Display Form?

Re: Set Value on Display Form

Posted: 25 Jan 2016
by rostislav
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.