I need to remove the option "Any employee" in the booking form; i can't find it on plugin code, it seems to be all generated with Javascript. Which part do i need to remove from code? Thank you!
If you need to hide the employee drop-down, I can help you with some simple CSS. However, if you need to remove "Any Employee", leaving only the list of available employees, I can help you hiding it from the drop-down, like this:
But it would still be displayed when your customers visit the page. Even if we were to remove it from the drop-down, they would be able to simply click on "Next" and proceed without selecting an employee. So, a random employee will be assigned anyway.
JS files are modified (minimized) in public version of plugin (in our development environment is accessible), but unfortunately I can not send you our source code because that is the policy of our company.
All those files that have extension .vue are compressed and minimized in JS files that is very hard and not recommended modifying. So in order to add some other features you can unminify the js and customize it.
thank you for your time. I would like to force user to select an employee, so the example you created (hiding "Any employee") from the list should be fine.
I can translate "Any employee" into "Choose an employee", my website is in italian so translation is mandatory; this way the customer should choose one of them; the chance they avoid selection should drop.
If you can help me to hide "Any employee" from the list i would be glad.
body > div.el-select-dropdown.el-popper > div.el-scrollbar > div.el-select-dropdown__wrap.el-scrollbar__wrap > ul > li.el-select-dropdown__item.am-select-any-employee-option.selected {
display: none !important;
}
If this doesn't work for you, there's a possibility we need a different selector, and to find it, I'll need you to share the URL where the booking form is with me.
I need to remove the option "Any employee" in the booking form; i can't find it on plugin code, it seems to be all generated with Javascript. Which part do i need to remove from code? Thank you!
Hello Fabrizio
Thank you for your purchase.
If you need to hide the employee drop-down, I can help you with some simple CSS. However, if you need to remove "Any Employee", leaving only the list of available employees, I can help you hiding it from the drop-down, like this:
But it would still be displayed when your customers visit the page. Even if we were to remove it from the drop-down, they would be able to simply click on "Next" and proceed without selecting an employee. So, a random employee will be assigned anyway.
JS files are modified (minimized) in public version of plugin (in our development environment is accessible), but unfortunately I can not send you our source code because that is the policy of our company.
All those files that have extension .vue are compressed and minimized in JS files that is very hard and not recommended modifying. So in order to add some other features you can unminify the js and customize it.
Kind Regards,
Aleksandar Vuković
[email protected]
Rate my support
wpDataTables: FAQ | Facebook | Twitter | Instagram | Front-end and back-end demo | Docs
Amelia: FAQ | Facebook | Twitter | Instagram | Amelia demo sites | Docs | Discord Community
You can try wpDataTables add-ons before purchasing on these sandbox sites:
Powerful Filters | Gravity Forms Integration for wpDataTables | Formidable Forms Integration for wpDataTables | Master-Detail Tables
Hello Aleksander,
thank you for your time. I would like to force user to select an employee, so the example you created (hiding "Any employee") from the list should be fine.
I can translate "Any employee" into "Choose an employee", my website is in italian so translation is mandatory; this way the customer should choose one of them; the chance they avoid selection should drop.
If you can help me to hide "Any employee" from the list i would be glad.
Thank you!
Hi again Fabrizio.
Sure, this is the CSS I used on my local setup:
If this doesn't work for you, there's a possibility we need a different selector, and to find it, I'll need you to share the URL where the booking form is with me.
Kind Regards,
Aleksandar Vuković
[email protected]
Rate my support
wpDataTables: FAQ | Facebook | Twitter | Instagram | Front-end and back-end demo | Docs
Amelia: FAQ | Facebook | Twitter | Instagram | Amelia demo sites | Docs | Discord Community
You can try wpDataTables add-ons before purchasing on these sandbox sites:
Powerful Filters | Gravity Forms Integration for wpDataTables | Formidable Forms Integration for wpDataTables | Master-Detail Tables