I have set up the following:
A light box with user input field and a button.
I want to achieve the following:
1. on button click a check is activated whether the input field have a value and whether its valid (figured out how to do that with on change function and a validity check)
2. if the value is valid I would like to open a link that contains information of the inputfields
3. I would like that link to open in a new tab
4. At the same time I would like the lightbox to close
Any help is much appreciated! Thanks! Joern