Hi Joe,
I think you can try to use the filter hook rwmb_frontend_redirect
or the action hook rwmb_frontend_after_process
to redirect to Whatsapp social with the field value. For example
add_filter( 'rwmb_frontend_redirect', function( $redirect, $config ) {
// Make sure you work on the correct form.
if ( 'my-id' !== $config['id'] ) {
return $redirect;
}
// Get submitted data via $_POST.
$value = empty( $_POST['field_id'] ) ? null : $_POST['field_id'];
$redirect = 'https://wa.me/49112112112?text=' . $value;
return $redirect;
}, 10, 2 );
Read more on the documentation https://docs.metabox.io/extensions/mb-frontend-submission/#general-hooks