Support › MB Frontend Submission › Remove Everything After the Question Mark in URL After Saving
Is there any way for my post to just resolve back to the same URL without adding everything after the question mark?
For example, my ticket url is https://casvision.farmchem.com/ticket/602368/
But when I save it, the url becomes something like this https://casvision.farmchem.com/ticket/602368/?rwmb-form-submitted=bad85abfc352e3413f34fea67bf5f1dc&rwmb_frontend_field_post_id=602368
Just wondering if the page can just reload as the first example even after I save the changes.
You can set the shortcode attribute ajax="true" to not add the query args to the URL after submitting the form (not editing from the frontend dashboard). Or use the form hook to redirect to the current page. Read more on the documentation https://docs.metabox.io/extensions/mb-frontend-submission/#general-hooks