Custom field groups displaying on all post type but I only want it being displayed on one.
Solution:
To resolve this please follow the instructions below:
1. Go to Toolset -> Custom Fields
2. Edit your custom field group.
3. Under Settings for XYZ click edit under the 'appears on' section.
4. Select the custom post type you want to allow this field group to appear on. Then hit apply.
5. Save your custom field group.
Problem:
conditional cred fields default values not submitting when hidden with Toolset Form
Solution:
You can use the Toolset Form's hook: cred_before_save_data
in order to assign the default value based on your conditional selection of Form group for form fields.
The issue here is that the user has a view that lists multiple post types but want to style each post type differently
Solution:
Here is how I achieved this:
Create your view and ensure that you've selected the option "Allow multiple Post types".
Select the post types that you want to be included in the view.
Ensure that you've set the sorting option on the view. See Screenshot. You will need to do this so the posts types are listed together.
On the view loop section you will add a conditional block for your first Post Type. Setup your conditionals as per my conditional screenshot, where you will select the Post Source, in a case of a multiple post type view you can leave this unchanged as it will set the correct information once the view is displayed. However for the source you will select Post Type, then the comparison is done for a static value and just add the post type slug.
In that conditional block you will setup how you want your post type A to display.
Using the block navigator tool. Select the view loop and then add a new conditional block to that loop and repeat steps 4 and 5.
When you are finished you can double check your structure and ensure that all your conditional blocks are within the view loop