sir, Please, How

Hi sir,
Please,
How can i make the Confirmation form, displayed under the calendar, all the time?
I mean, I don't want when i click on the time then the form will be displayed.

Regards
A.J.

  • Luís

    Hi Ashraf ,

    Hope you're doing well today!

    The confirmation form is only loaded after select the appointment date because it will require some data, like Service, date, service provider.

    I am not sure if we have an workaround, however I flagged the SLS team (our code experts :slight_smile: ) to investigate further and get their valuable feedback.

    Since this team deals with more advanced threads it may take them longer to reply.

    Cheers, Luís

  • Panos

    Hi Ashraf ,

    Really sorry for such a delay here.I would not recommend forcing the confirmation fields to be visible, as the service and service provider may not be set.

    However it's not hard to do, as it can be done with css only. You can add the following css either on your child theme's style.css or use a plugin like https://wordpress.org/plugins/simple-custom-css/.

    .appointments-confirmation-wrapper,
            .appointments-name-field,
            .appointments-email-field,
            .appointments-phone-field,
            .appointments-address-field,
            .appointments-city-field,
            .appointments-note-field,
            .appointments-gcal-field{
                display: block !important;
            }

    In case you have many booking forms in several pages and need to make it visible in only one page, you could do it by adding the following snippet in your child theme's functions.php or a mu-plugin:

    add_action( 'wp_head', function(){
    
        global $post;
    
        if( $post->ID != INSERT_YOUR_PAGE_ID ) return;
    
        ?>
        <style>
    
            .appointments-confirmation-wrapper,
            .appointments-name-field,
            .appointments-email-field,
            .appointments-phone-field,
            .appointments-address-field,
            .appointments-city-field,
            .appointments-note-field,
            .appointments-gcal-field{
                display: block !important;
            }
        </style>
        <?php
    
    }, 10 );

    Make sure you replace the "INSERT_YOUR_PAGE_ID" with your actual page id.

    Thanks!

Thank NAME, for their help.

Let NAME know exactly why they deserved these points.

Gift a custom amount of points.