Need advice / help to implement search in drop down and input of value is not present

Hi Guys,

I have a requirement where I will use a drop down to search for names available in my Database

EX: There will be a drop down element which will search for names in my “Name” column of my DB.

But if there is no name present I should be able to add this name, is there a way I can have this functionality by using the drop down element?

What would be the best approach to this problem?

Thank you in advance

Regards,
Dilip

Not with the dropdown element.

If it’s a form and you want to add a new record, add a text entry pointing to the same field.

If it’s not a form, please specify your use case.

Thank you for your reply @ThinhDinh

It will be a form (I am assuming by form you mean Adding new element)

Basic use case is I first search wether same name is present, If its present I add record to that name

If its not present I create a new record and then add things to it

Regards,
Dilip