<img height="1" width="1" src="https://www.facebook.com/tr?id=730305433807073&amp;ev=PageView &amp;noscript=1">
Book a Demo
Start

Dynamic Forms - Part 6: Making the “Category” field dependent on the selected industry

 

The next customer requirement is to limit the choice of the lead categories ( “Category” field) only to the value “A – Premium Lead” if the field “Industry” has been set to “Information Technology.” (This customer apparently treats all leads from the Information Technology industry as premium leads.)

In order to meet this requirement, we will go to the Choice Settings section of the “Category” field in the skybow Solution Studio, and limit the other two choices (“B” and “C”) to be visible only if the lookup field “Industry” has not been set to “Information Technology.” In our demo environment here, the “Information Technology” list item in the “Industries” list has the ID “8” we will use that to limit the choices within the “Category” field:

 

 

dynamics_13.png

Setting the visible choices for Position choice fields

 

This setting will make the choices “B” and “C” visible only if the selected Industry does not have ID=8, which is “Information Technology.”

If we now save the changes and reload the form, we will see that those settings have immediately taken effect:

 

 

dynamics_14.gif

Behavior of Position field

 

That means that another customer requirement has been set within seconds.

 

You want to read the whole story? Click here to get the eBook!

Rich Forms eBook

Adis Jugo

Written by Adis Jugo

is Director of Product Technology at skybow, and a software architect with over 20 years of experience. Adis is double Microsoft MVP (Most Valuable Professional) for Office Development and for Office Servers and Services. He first met SharePoint (and Microsoft CMS server) back in 2002, and since 2006 his focus was completely shifted towards architecture and development of productivity solutions, now based on the Azure, Office 365 and SharePoint technologies. Adis is an internationally recognized speaker with over 15 years of speaker experience, speaking at various Microsoft, Community and SharePoint/Office 365/Azure conferences worldwide.