I'd like to know how I can set up the first name field only when customers book a service. In Korean names, the last name comes first and it usually consists of one syllable. The first name comes after (usually two syllables). Since total of 3 syllables, we don't separate last and first name fields given the characteristics of the Korean writing system.
If there is no setting to do it, could you let me know which part of the code I need to fix to display only the first name field? Also as for entering the employees' name field, we don't need the last name field.
Let me know how we can delete the last name field across the backend and frontend. Thanks in advance.
If you add this script to the booking page, that will make the last name non-mandatory:
<script> window.beforeConfirmBookingLoaded = function () { let el = document.querySelector("#am-confirm-booking > div:nth-child(1) > form > div.am-confirm-booking-data.el-row > div:nth-child(4) > div > div > div > input"); el.value = '_'; el.dispatchEvent(new Event('input')); el.parentElement.parentElement.parentElement.style.display = 'none'; } </script>
That will also hide the last name field from front-end.
I don't have any custom code that would allow you to do this for the employee in back-end. I've reached out to one of our developers about this, and when I hear from him, I will let you know.
Unfortunately, we can't make the same behavior for the employee in back-end. You would need to do it with some custom work, which is not included in the provided support for the plugin.
I'd like to know how I can set up the first name field only when customers book a service. In Korean names, the last name comes first and it usually consists of one syllable. The first name comes after (usually two syllables). Since total of 3 syllables, we don't separate last and first name fields given the characteristics of the Korean writing system.
If there is no setting to do it, could you let me know which part of the code I need to fix to display only the first name field? Also as for entering the employees' name field, we don't need the last name field.
Let me know how we can delete the last name field across the backend and frontend. Thanks in advance.
Hello Selim
If you add this script to the booking page, that will make the last name non-mandatory:
That will also hide the last name field from front-end.
I don't have any custom code that would allow you to do this for the employee in back-end. I've reached out to one of our developers about this, and when I hear from him, I will let you know.
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
Hi again Selim.
Unfortunately, we can't make the same behavior for the employee in back-end. You would need to do it with some custom work, which is not included in the provided support for the plugin.
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