Hi, I promise this is the last issue from me - I am so close to having finished.
Last problem though is my validation no longer works. I have added a filter to turn the meta box default button into a save button, and then at the end of my form added another submit button:
[
'id' => $prefix . 'form_submit_button',
'type' => 'submit',
'std' => __( 'Done', 'your-text-domain' ),
'columns' => 12,
'save_field' => false,
'tab' => 'page_22',
'attributes' => [
'class' => 'form-submit rwmb-button rwmb-form-submit',
]
],
However, when it is clicked, it shows the alert that not validated yet continues to process and save post. How do I make my button behave like the default meta box button? Is there a configuration I am missing. Couldn't find anything in the docs.
This is my shortcode: [mb_frontend_form id="academic-research-summary" ajax="true" post_type="research" confirmation="Saved"]