Information about specific character

I currently have data running across 2 pages. Basically, when user is in this menu:
They need to enter information of the character they are creating.
What i’m trying to do, is when they’ve entered everything, and pressed register, i want that info shown in this popup in another page:

I’ve currently sorted out the Name thing, but i am not able to understand, how do i set it to specifically search for that character, which name is being searched in the searchbox in the upper left corner, just like in this screenshot:

That is my idea. Any help will be appreciated.

Awaiting response,