Disable name phone and email fields on step 3-> 'Details'

even when a user is already signed in .. the name phone and email are pre-populated. BUT the user can change those values... how do i disable editing those values

1

Comments

4 comments
Date Votes
  • Would also like to know how to make these fields read-only.

    Our customers log in and we don't want them to change email address.

    4
  • Agreed, there is something strange about this current setup for those of us that want to use ONLY registered WordPress Users only. I suspect its that Bookly see the booking plugin as something that should be visible to everyone - including unproven/unregistered customers. The use case vision could/should be increased here to work with scenarios as below.

    Say you are using the Plugin like "Ultimate member" to hide a booking form to only registered and logged in WordPress Users (members). This current setup becomes a pain with customer management you shouldn't have to waste time on and playing the merging or create customers and link them to WordPress accounts that bookly already seems to know exist at time of making a booking (due to being logged in already and seeing a restricted page with the Bookly form).

    A simple setting like "only allow WordPress logged in users to book" coupled with the fact that its prevents the logged in WordPress from changing their email address or Full Name / Phone would be great. As in if the checkbox for this feature is ticked you assume we don't want bookly to ever create WordPress users as they are already created by hand (members) or by a register page somewhere and also don't need to confirm the full name/email on the details page.

    Regards

    1
  • Agreed. Also when editing an appointment, agents can modify the customer details.
    Many webs create and validate WP users in advance and populate them with customized fields to be used in other plugins on a centralized way to keep consistent data.

    Customized fields in Bookly are great to get specific data for an appointment, but "user fields" like name or email address should be pulled up from the core WP profiles and remain read-only.

    *on the attached screenshot, that button triggering the "user edit" form is a headache.

     

    1
  • CSS

    .bookly-box bookly-table {
     display: none !important;
    }
    .bookly-form-group bookly-js-details-full-name {
     display: none !important;
    }
    .bookly-js-full-name {
     display: none !important;
    }
    .bookly-js-user-phone-input {
     display: none !important;
    }
    .bookly-js-user-email {display: none !important;
    }
    .iti__selected-country-primary  {display: none !important;
    }

    0

Please sign in to leave a comment.

Didn't find what you were looking for?

New post