I recently updated to front end submission 4.1.1 and when I submit the form via ajax, it validates but the form disappears? and all theta remains is the validation message. Why is this? its doesn't behave in this way in past versions of the addon. If I revert back to a eelier version the form remains there after a successful validation.
[mb_frontend_form id="dc-product" post_type="products" confirmation="Updated post successfully" submit_button="Update" allow_delete="true" ajax="true"]
Yes, from the new version, if the validation is passed then the form will be hidden. If the validation is not passed, the error message will appear as it should. If you want to show the form, please add the attribute edit="true" to the shortcode.
I noticed the rwmb-confirmation message has moved from inside the form wrapper to outside when enabling 'edit=true'. Is there a reason for this? as i was targeting the confirmation messages via CSS using the form ID > child element.
e.g. this is what the confirmation html looks like
<div class="rwmb-confirmation">Updated post successfully</div>
<form class="rwmb-form" ........
Ok thanks. But i was checking if the developers had realised that as its inconsistent and it would mean i will have to go through alot of my existing projects to include wrappers. Would take me a few hours as im using alot of front end forms