add a lookup field in login page

Hello,
Is it possible to add a new field to the login page ?
I want to add a lookup field where user must select the database he will be connected. The information will be returned from a store procedure
I am unable to create that lookup field. I dont know how to do it. I found something similar in the forum but it does not runn in new versions. https://discourse.hkvstore.com/t/add-new-field-in-login-page/598/1

Can anybody help me?

Thanks in advance

You may:

  • Use jQuery to add a tag and add your options of database,
  • Use Database_Connecting server event (see the topic Server Events and Client Scripts in the help file) to check if there is database selected, if yes, save it in a session variable and use it to connect.