I am trying to: Starting from the "Real Estate" reference site, I'm working to build a Tourism promotion Site.
Then, for the accommodation facilities, I have created a specific CPT called "Dormire" and to this CPT I have assigned the "Strutture Ricettive" Taxonomy, and more Custom Field Groups that should be displayed by the selected categories in the taxonomy.
01 - So, the first issue I found is that in the block editor, when I add the fields in a conditional logic group and save it, when I try to display the Form, and I select the value to display the forms inside the conditional logic, the forms are not displayed. Then, when I switch to the expert mode editor in the form editor, all the fields inside the conditional logic are lost...
The first field is a checkbox list about the category of the "Strutture Ricettive" Taxonomy. The first condition I have created is that: When a category is selected display all content, like this
<div class="form-group">
<label>[wpml-string context='cred-form-' name='Strutture Ricettive']Strutture Ricettive[/wpml-string]</label>
[cred_field field='struttura-ricettiva' force_type='taxonomy' output='bootstrap' display='checkbox']
</div>
[cred_show_group if="($(struttura-ricettiva) ne '')" mode="fade-slide"]
Display all other fields and all other fields inside other conditional logic
[/cred_show_group]
This condition works fine, and when I check a category, the fields are displayed. But, I have found another issue:
2 - The second issue that: inside of the first condition, if I want to group some fields inside others conditional logic to be displayed when a specific category is checked, in the front end, when I check the specific category, the fields inside the conditional logic are not displayed. I have tried to use different solution, by ID, by array of IDs, by slug (I have found a guide that says to use the slug mode with the checkbox field). In the simple, I have used this code:
[cred_show_group if="($(struttura-ricettiva) eq 'affittacamere')" mode="fade-slide"]
<div class="form-group">
<label>[wpml-string context='cred-form-' name='Descrizione Struttura']Descrizione Struttura[/wpml-string]</label>
[cred_field field='post_content' output='bootstrap']
</div>
[/cred_show_group]
So, this condition logic doesn't work... why?
The other issues are about the relationship CPT post fields and the Repeatable field:
3 - In total, I have created 6 CPTs, one for the Cities CPT, and five for other types of touristic service. For the "Dormire" CPTs I have created 4 CPT's "one to many" relationships to the other tourism services. I have also created "one to many" relationship between "Cities" CPT and "Dormire" CPT. In the form creator, I can see only the Relationship field about "Cities" and "Dormire" CPTs. So, I need to have also the other Relationship field that I have created!!! What should I do to have these?
4 - About the Dormire CPT, I have created also a Custom Field Group that is a Repeteable field. For the Repeteable field, Form plugin needs me the opportunity to create a new form. Well, I have created the Form about the Repeteable field, but I don't know how I should do to insert it into the main Dormire CPT Form.
Can you help me?
Link to a page where the issue can be seen: hidden link