Hello, I'm trying to use the [cred_show_group] shortcode to show two different fields in a post form, but can't get it working.
I thought it was something simple like using encoding for spaces in values or having a default set in the conditional field but still can't get it working.
The conditional fields are at the end of this form (lines 57 > 68).
I've tried to solve it and looked the documentation but can't see a reason this isn't working.
[credform]
[cred_field field='form_messages' class='alert alert-warning']
<h2>Business Details</h2>
<div class="form-group">
<label>Business Name</label>
[cred_field field='post_title' class='form-control' output='bootstrap']
</div>
<div class="form-group">
<label>Business Categories</label>
[cred_field field='business-category' force_type='taxonomy' output='bootstrap' display='select' single_select='true']
</div>
<div class="form-group">
<label>Business Description</label>
[cred_field field='business-description' force_type='field' class='form-control' output='bootstrap']
</div>
<div class="form-group">
<label>Address</label>
[cred_field field='address' force_type='field' class='form-control' output='bootstrap']
</div>
<div class="row">
<div class="col-sm-6">
<div class="form-group">
<label>Phone</label>
[cred_field field='phone' force_type='field' class='form-control' output='bootstrap']
</div>
</div>
<div class="col-sm-6">
<div class="form-group">
<label>Email</label>
[cred_field field='email' force_type='field' class='form-control' output='bootstrap']
</div>
</div>
</div>
<div class="form-group">
<label>Website URL</label>
[cred_field field='website-url' force_type='field' class='form-control' output='bootstrap']
</div>
<div class="row">
<div class="col-sm-6">
<div class="form-group">
<label>Logo</label>
[cred_field field='logo' force_type='field' class='form-control' output='bootstrap']
</div>
</div>
<div class="col-sm-6">
<div class="form-group">
<label>Featured Image</label>
[cred_field field='featured-image' force_type='field' class='form-control' output='bootstrap']
</div>
</div>
</div>
<h2 style="padding-top: 30px;">Membership Details</h2>
<div class="form-group">
<label>Membership Type</label>
[cred_field field='membership-type' force_type='field' class='form-control' output='bootstrap' value='Platinum Plus Membership']
</div>
[cred_show_group if="( $(membership-type) eq 'Premium Membership' )" mode="none"]
<div class="form-group">
<label>Business Size (Premium)</label>
[cred_field field='business-size-premium' force_type='field' class='form-control' output='bootstrap']
</div>
[/cred_show_group]
[cred_show_group if="( $(membership-type) eq 'Platinum Plus Membership' )" mode="none"]
<div class="form-group">
<label>Business Size (Platinum Plus)</label>
[cred_field field='business-size-platinum-plus' force_type='field' class='form-control' output='bootstrap']
</div>
[/cred_show_group]
[cred_field field='form_submit' output='bootstrap' value='Submit' class='btn btn-primary btn-lg']
[/credform]