• Resolved Morgan Grip

    (@morganmmg)


    Is it possible to auto-fill registered user’s name, email and phone with Webba Booking?

    The page I need help with: [log in to see the link]

Viewing 1 replies (of 1 total)
  • Plugin Author Webba Appointment Booking

    (@webba-agency)

    Hello,

    I’ll be happy to help you.

    You can implement auto-fill using integration with the Contact Form 7 plugin.

    Bellow are steps to set it up:

    1. Install and activate the Contact Form 7 plugin.

    2. In CF7 create a new form with the following content:

    <p><label for="wbk-name">Your First Name (required)</label>[text* wbk-name class:wbk-text id:wbk-name default:user_display_name]</p>
    <p><label for="wbk-email">Your Email (required)</label>[text* wbk-email class:wbk-text id:wbk-email default:user_email]</p>
    <p><label for="wbk-phone">Your phone (required)</label>[text* wbk-phone class:wbk-text  id:wbk-phone]</p>
    <p><label for="wbk-comment">Your comment</label>[textarea wbk-comment class:wbk-textarea id:wbk-comment]</p>

    3. Set the newly created form in the Form settings of the service.

    Unfortunately, this solution will not work for the phone fields, because the phone field is not default WordPress user field.

    If you have any questions, feel free to contact us.

Viewing 1 replies (of 1 total)
  • The topic ‘auto-fill registered user’s name, e-mail…’ is closed to new replies.