Support

Account

Home Forums Front-end Issues Adding Custom Markers to Map Field in Frontend Form Reply To: Adding Custom Markers to Map Field in Frontend Form

  • Hey, care to share the code you used to actually set custom pin? I have a similar case, although I call entire group of fields on my page.php like that

    <?php
    
                    acf_form(array(
                        'post_id'		=> 'new_post',
                        'field_groups'  => array( 72 ),
                        'new_post'		=> array(
                            'post_type'	=> 'post',
                            'post_status'	=> 'publish',
                        ),
                        'submit_value'          => '[+] Send',
                        'return'                => '/',
                        'html_submit_button'    =>  '<input type="submit" id="addsignal" value="%s" />'
                    ));
    
                    ?>

    … and I’m really stuck on how to pass custom pin parameters. Thanks.