Okay
  Public Ticket #2377470
Don't Show Any Employee Option
Closed

Comments

  •  2
    W started the conversation

    Hi,

    I have a booking form setup - 1 service, 1 location and 2 employees who offer that service at different times.

    Is there a way to not show the option of 'Any employee'? I'd like for my first employee to be default and then if the user wants to select the other employee then they need to click the dropdown menu and choose that employee.

    Thanks

  • [deleted] replied

    Hello Waseem, 

    Unfortunately, that is not possible in Amelia with its current built-in features. You can maybe put separate booking forms for the two employees, if that would be more convenient for your use case, using Amelia shortcodes with specified employee ID. 

    If you have any further questions or concerns feel free to ask. 

  •  2
    W replied

    Hi, thanks.

    Is there no way to even just hide that option ('Any employee') using CSS or something like that?

  • [deleted] replied

    Hello Waseem, 

    It maybe can be hidden with some CSS, please try adding this custom HTML to the page where you have your Amelia shortcode: 

    <style>
    li.el-select-dropdown__item.am-select-any-employee-option {display: none}
    </style> 

    Let me know if this helped!

  •  2
    W replied

    Hi, okay cool, so it half works.

    It doesn't hide the option initially, meaning, the 'Any employee' option is still there and selected by default but once you click on the dropdown, then the 'Any employee' option does not show in the available list of options.

  • [deleted] replied

    Hello Wsaeem, 

    So, unfortunately, it can't be hidden completely on the front-end. There isn't a possibility to remove it, since it is the default option for the employee drop-down. I will add this as a feature request to our list so it can be considered for implementation in the future. 

    If you have any other questions or concerns feel free to open a new ticket and we will gladly help.

  •  2
    W replied

    Ahh no. Okay thanks, please add it as a feature request and thanks for your help! :)

  • [deleted] replied

    Hello W, 

    I added this to our feature requests list so it can be considered for implementation in the future. 

    If you have any other questions or concerns feel free to open a new ticket and we will gladly help.