O365 - Alternative to user defined rules?

Discussions about Forms Designer for SharePoint 2013 / 2016 and Office 365.
Locked
Dan_C
Posts: 63
Joined: Tue Dec 02, 2014

02 Dec 2014

Hi there,

I am currently using your software on a trial basis and I have so much to learn that I'm afraid I may run out of time.

Currently I'm interested in hiding fields based on the type of user viewing the form. It seemed to me that user defined rules may be great but unfortunately that functionality is not available for the Office 365 version.

Do you have any suggestions for a work around? Can I populate a hidden field with the current user's group or pull a "group" field from a custom list based on the current user id? If I have a hidden field populated, could I then hide fields with the CSS method I've seen talked about in other messages and your blog based on the value of the hidden field?

I'd like to dynamically display different approval fields based on the current user and their associated level in the approval chain.

Hope that makes sense.

Thank you,

Dan

User avatar
Dmitry Kozlov
Site Admin
Posts: 1524
Joined: Thu Jun 07, 2012

03 Dec 2014

Hi Dan,

Thank you for the questions and interest in our software.

You can check whether the current user belongs to a specific SharePoint group via JavaScript as described in the following article:

http://jeffywang.blogspot.ru/2012/10/ho ... -user.html

If you store group membership in a separate SharePoint list, you can retrieve the data via REST or CSOM when the form is loaded.

Of cousre, based on a particular condition you can show/hide fields via JavaScript as described in our blog:

http://spform.com/forms-designer- ... point-2010

If you're developing a complex form with lots of business logic, I can recommend you to use our support service. Just send the detailed requirements to support@spform.com and we will estimate them.

Locked
  • Information
  • Who is online

    Users browsing this forum: No registered users and 13 guests