ControlMode - Dispay Page as Edit

Discussions about Forms Designer for SharePoint 2013 / 2016 and Office 365.
Locked
Sonoma
Posts: 88
Joined: Wed Oct 15, 2014

29 Apr 2016

Is there away to force the diplay page to show all fields as if it were the Edit page?
I know I can create a custom form and set the ControlMode to Edit mode if I need to.
I would just redirect the user to the Edit page and lock all fields but in our case we use tabs for the Edit page and no tabs on the Dispay page. This allows the user to QA it on one page. In Display mode they miss items because they see the field label and blank results or the bales resize out of wack.
Any thoughts. Can I just add soome JQuery to the Display page to force ControlMode = "Edit" Without having to use SP Designer? Can I only make certain fields in edit mode?

Thanks.

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

29 Apr 2016

Not sure I got you completely, but why cannot you:
-just create a separate form for this, setting some fields as readonly and some as edit as appropriate and redirect users to this form
or
-utilize the edit form and disable controls via fd.field(..).readonly(true) as appropriate
But you cannot make a display form an edit form via jQuery, the readonly-ness of the form and its controls in this case is a back-end thing.

Locked
  • Information
  • Who is online

    Users browsing this forum: No registered users and 18 guests