auto select employee

Support forumCategory: Questionsauto select employee
coolmatter asked 3 years ago
Hello, Is it possible to auto select the employee if there is only one?   Thank you
3 Answers
marco answered 3 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.net/documentation/#bootstrap.

marco answered 3 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 3 years ago
Hi, this make sense if there is only one option to be pre selected. We will add this soon. Best regards, Nikola