Page 1 of 1

Javascript check "Editform" or "Displayform"

Posted: 24 Jul 2018
by slashmaster
Hi Guys,

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


Best regards

Re: Javascript check "Editform" or "Displayform"

Posted: 24 Jul 2018
by Nikita Kurguzov
Dear slashmaster,
Please, use the following JavaScript to check the type of form:

Code: Select all

fd._formType()

Re: Javascript check "Editform" or "Displayform"

Posted: 24 Jul 2018
by slashmaster
Hi Nikita,

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

Best regards

Re: Javascript check "Editform" or "Displayform"

Posted: 24 Jul 2018
by Nikita Kurguzov
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!