Dear Sir/Madam,
I have a custom post with some conditional fields setting. I created the CRED form
<div class="form-group">
<div class="span2">
<label>[wpml-string context='cred-form-' name='Social Media']Social Media[/wpml-string]</label>
</div>
<div class="span10">
[cred_field field="enquiry-social-media" force_type="field" class="form-control" output="bootstrap"] [cred_show_group if="( $(enquiry-social-media) ne '' )" mode="fade-slide"] [cred_field field="enquiry-social-media-account" force_type="field" class="form-control"
output="bootstrap" placeholder="Please input the account"] [/cred_show_group]
</div>
</div>
There is not problem when the first time entry, after the CRED form submitted, the conditional fields doesn't work. Enclosed the screenshot of the CRED form setting.
Best regards,
Kelvin.
You are using a Forms condition successfully on a form, but after submitting it with AJAX the condition is broken, right?
I can replicate it and escalated the problem.
I'll update you here once there is a solution.
For now, the only I found is to redirect to another page or reload the page.
There is an erratum now you can follow, which will be updated as resolved once a solution is present.
It also features the only available workarounds.
https://toolset.com/errata/toolset-forms-conditionals-not-applied-after-the-form-is-submitted-but-kept-displaying-using-ajax/