How To Select Multiple Categories As A Member In One Member Form

Link: https://support.brilliantdirectories.com/support/solutions/articles/12000089980-how-to-select-multiple-categories-as-a-member-in-one-member-form

The default workflow members use to select their Top and Sub Categories is described here: How To Select Categories As A Member.


The default workflow has members first select a Top Category in the Contact Details form and then select Sub Categories in the Listing Details form.

However, some website owners may prefer that member select both the Top and Sub Categories in the same form.  This article shows how to customize either the Contact Details form or Listing Details form to make this possible.



Categories Selection / Listing - Additional Details - Member Form


For this first example, we'll add both the Top and Sub Categories selection fields to the "Listing - Additional Details - Member" form. 


Customize the Listing - Additional Details - Member form:

 



Add a new field above the "services" field:




Set up the new field with the following settings:


1. Type of Field: Top Category List

2. Field Label: %%%listing_top_category%%%

3. Database Variable: profession_id

4. Field Help Text: %%%listing_top_category_tooltip%%%

5. Input View: Turn ON Input View, Turn OFF the other Display Settings.




Click on Save Changes.


Login as a member and see the new method of selecting categories as a member:






Please see how it looks on the Member Dashboard:




To have the selection in just one form, the default field to select subcategories must be deleted on the "Listing - Contact Details - Form". To complete this step access the form and remove the default field called profession_id, go to Actions >> Delete Field.




Categories Selection / Listing - Contact Details - Member Form


For this first example, we'll add both the Top and Sub Categories selection fields to the "Listing - Contact Details - Member" form. 


Customize the Listing - Contact Details - Member form:




Add a new field below the "profession_id" field:


 


Set up the new field with the following settings:


1. Type of Field: Custom HTML

2. Field Label: [widget=Bootstrap Theme - Account - Select Categories]

3. Database Variable: services

4. Input View: Turn ON Input View, Turn OFF the other Display Settings.




Click on Save Changes.


Login as a member and see the new method of selecting categories as a member:




 

Please see how it looks on the Member Dashboard:



To have the selection in just one form, the default field to select subcategories must be deleted on the "Listing - Additional Details - Form". To complete this step access the form and remove the default field called services, go to Actions >> Delete Field.