Let’s say you have two groups one is for Login and another one is for Signup.
- First step is to check “Collapse when hidden” for both groups. And uncheck “Visible on page load…” only for login group.
- Then select the Signup group and go to conditions tab. Then add condition, get data from page URL, select “login” then add condition if this parameter is not empty, then hide the element.
- Go to login page’s conditions tab, add condition, if “Get data from page URL”'s login is not empty, then set element is visible to checked.
In this way, when login will be there in URL, then signup will be hidden and login will show and vice versa.