Support › MB Frontend Submission › Split frontform in 2 with a check is title already existsResolved
How can I split a frontform in 2? I got a field that generates the title, that is done by a snippet.
How can I extend this. When a value is entered and it already exists then open that post. If not exists create a new post with all the fields.
Splitting in 2 is something like this I guess
[mb_frontend_form id="example-id" post_fields="title"]
If post not exists
[mb_frontend_form id="exapmple-id" post_fields="content"]
Can someone show me how to do this?
The extension MB Frontend Submission does not support splitting the form into more parts. I think you can use the Remote Validation to validate the title if it exists by a custom function.
The default title should be replaced by the custom field https://docs.metabox.io/extensions/mb-frontend-submission/#reorder-post-fields.
Refer to this topic: https://support.metabox.io/topic/remote-validation-example/.