Input form without Async Webserver?

Code I’m doing: main.cpp

Yo, I want to make a form that would change the SSID and password credentials. I want to do it through my webserver. The code currently generates a form with an SSID and password input, but how can I send that data to my Arduino? I want this to happen with the send to happen after I clicked submit. Any ideas?

TL;DR
I want to send input data through my webserver with a form.

Also, I cannot use an a-sync web server because of the soft AP.

Thank you kindly,
Valor