Hello Dolly.M,
Thanks for reaching out to the Apple Support Communities. I understand you're having some trouble connecting to a captive network, and I have some information that may help.
Have a look at the excerpt from the article below for some helpful troubleshooting steps.
Use captive Wi-Fi networks on your iPhone, iPad, or iPod touch - Apple Support
When you tap Cancel on the login screen, you disassociate the device from the captive Wi-Fi network.
If you joined the network from the Wi-Fi screen by tapping the
button, a message says that the network isn't connected to the Internet. You can choose one of these options:
- Without Internet dismisses the Welcome screen and turns off Auto-Login for the network. It keeps your device associated with the network and allows you to use the network in other ways.
- Other Network dismisses the Welcome screen and disassociates your device from the network. It returns you to the Wi-Fi Settings screen where you can choose a different network.
- Cancel returns you to the Welcome screen.
If you run into any trouble, please reach out again.
Best Regards.