web pre-registration module - How to make company name and email mandatory

web pre-registration module - How to make company name and email mandatory

 How to make company name and email mandatory

 

Stop the passagepoint service 

 

On the server machine navigate to PPGlobal\Config\context\1\main.ctx

Edit "options.xml"

search for <isEmailRequired>false</isEmailRequired>

   <isVisitorCompanyRequired>false</isVisitorCompanyRequired> and make this two true 

   

   Example 

   

   <isEmailRequired>true</isEmailRequired>

   <isVisitorCompanyRequired>true</isVisitorCompanyRequired>

  

  Hit Save 

  Start the the passagepoint service