auto select employee

Supportauto select employee
coolmatter Staff asked 4 years ago
Hello, Is it possible to auto select the employee if there is only one?   Thank you
3 Answers
marco Staff answered 4 years ago

Hi, if there is only one employee, it is selected by default, so in a sense it's already auto selected.  But you could try using the bootstrap shortcode with the one employee.  E.g.:

[[ea_bootstrap worker=1]]

See https://easy-appointments.com/documentation/#bootstrap.

marco Staff answered 4 years ago
Looks like the code block got converted to a grey box, so use "ea_bootstrap worker=1" and replace the quotes with square brackets.
Nikola Loncar Staff answered 4 years ago
Hi, this make sense if there is only one option to be pre selected. We will add this soon. Best regards, Nikola