Support › MB Frontend Submission › Populate forms with JS
I am populating front end forms with the shortcode and query string ?rwmb_frontend_field_post_id=277
I've not used the JS code to edit the form like that. But you can try to use AJAX with the function wp_remote_get() to get the form config and value then display it on your page. Please read more on this documentation https://developer.wordpress.org/reference/functions/wp_remote_get/
Ok thanks. That might work. What shall i target with wp_remote_get() ? I am not quite sure how to grab the metabox config from a post id.
Hi, Is it possible for you provide me with an example please?