Javascript check "Editform" or "Displayform"

Discussions about Forms Designer for SharePoint 2013 / 2016 and Office 365.
Locked
slashmaster
Posts: 29
Joined: Fri May 25, 2018

24 Jul 2018

Hi Guys,

is there a Way, to check with Javascript wich Form is loaded?


Best regards

User avatar
Nikita Kurguzov
Posts: 889
Joined: Mon Jul 03, 2017

24 Jul 2018

Dear slashmaster,
Please, use the following JavaScript to check the type of form:

Code: Select all

fd._formType()
Cheers

slashmaster
Posts: 29
Joined: Fri May 25, 2018

24 Jul 2018

Hi Nikita,

very nice. Thank u! Works well.
Is there a library with properties/functions for the different Controls/Forms?

Best regards

User avatar
Nikita Kurguzov
Posts: 889
Joined: Mon Jul 03, 2017

24 Jul 2018

Dear slashmaster,
Most information is available in our JavaScript section here - https://spform.com/documentation/js/manager
And here - https://spform.com/documentation/js/field
As well as in our blog - https://spform.com/category/javascript-framework

But if you have any questions left - let me know, I'll try to help as best I can!
Cheers

Locked
  • Information
  • Who is online

    Users browsing this forum: No registered users and 24 guests