Closing and redirecting a modal

217
1
Jump to solution
04-08-2022 10:21 AM
AJ_devaccount
Occasional Contributor

Is it possible to create a button at the end of a modal that closes it, but also redirects the user to a different page? Basically the modal has a disclaimer, where at the end the user has to "Agree" with the terms, which should close the modal, but also open up a different page. 

Thank you!

Edit: this code should work in Bootstrap 4, unfortunately I couldn't find a Bootstrap 3 version. 

<a href="link" class="btn btn-primary" target="_blank" data-dismiss="modal">I Agree</a>

 

Tags (3)
0 Kudos
1 Solution

Accepted Solutions
BrianRollison
Esri Contributor

Hi @AJ_devaccount - not at this time, please log an ENH request with support or post to ArcGIS Ideas. This way the community will be able to follow/upvote your request.

View solution in original post

0 Kudos
1 Reply
BrianRollison
Esri Contributor

Hi @AJ_devaccount - not at this time, please log an ENH request with support or post to ArcGIS Ideas. This way the community will be able to follow/upvote your request.

0 Kudos