Dynamic Page generation with User unique ID & a Submit Button

Hello,
I am trying to have a client to my website enter their “Unique client ID”, push a submit button and generate a dynamic page which includes details of their certification in a table format.
I have spent a lot of time trying to find an example, but no luck. I believe the solution involves WIX code. But I need help as I am not a WIX coder.
On my site I have:
Home
ClientList Pages (Dynamic page)
Secure Client Access (Page where customer enters Unique Client ID)
Database
ClientList (Client ID)

On the Secure Client Access page, I have a button with a link set to a page: Which page? ClientList Pages (Dynamic), Which item? Set to client ID in the database. What I want is for a customer to my Secure Client Access page to be able to enter their Client ID, push a submit button, and have their information table generated for them. No security is needed.

Thanks in advance for any help!
Mo
www.bluestarmspl.com

I am trying to make my client enter their customer ID and press submit to generate their information on a dynamic page. The information lives in the data base corresponding to each customer’s ID.

Name of dynamic page is: ClientList Pages (Dynamic)
Name of search box where clients enter their ID is: input1
Name of the button to submit is: button147
Name of the Data Base is: ClientList
The unique client id field in the database is: Client ID

I am using the below code (gathered using google search as I am no coder but trying to get this done) -

import wixLocation from ‘wix-location’;
$w.onReady( function () {
$w(‘#button147’).onClick( function () {
const Client ID = $w(‘#input1’).value;
wixLocation.to.to (“/ClientList/” + Client ID);
});
});

It is not running as it says ‘Parsing error: Unexpected token ID’ on line 4 starting with ‘const’. Any help is appreciated.