Auto complete of user full name from database in custome field and also...
Brought to you by:
jberanek
Hello Team,
I have added one custom field called "Booking behalf of" to mention email id of user in that so after successive booking one email will go to creator one will go to admin and one will go to the email id which i have mentioned in that custome field.
Is there any way where in custome field if I started typing the word , full name will autofill from users table from database.
and after booking finish the email will also get send to the email address which is defined in datbase for that user.
Have a look in report.php at the function generate_search_criteria() to see how it's done for eg areamatch.
hi Campbell,
I checked but its not autofilling data from database table
what i need is when i start typing fro example if i type "Ca" it should prompt me "Campbell Morrison" as found value and after selecting your name when i will save mail should go to your email id which is defined in front of your name in database.
Have you changed the code in edit_entry.php so that it autofills?
I a not sure what changes need to done I am not that much php savy
Sorry - I'm afraid I haven't got time to make the changes myself. There's not much PHP involved - it's only a few lines.
Campbell
Please assist for code.