Hello,
You can add “uwp-login-link” class to the link or button which will open the login popup and to open registration form you can use “uwp-register-link” class.
If I have multiple register forms how do I select an specific form in the lightbox? uwp-register-link
Plugin Author
Stiofan
(@stiofansisland)
Hello,
Please note that it is preferable to open a new ticket, this one is already marked as resolved so we don’t get notified as quickly.
There is two ways to do this:
1. add an onclick using the form ID:
onclick="uwp_modal_register_form(2);"
2. Data attribute: this is a bit of a workaround as it involves wrapping the link in a span/div with a specific ID:
<span id="uwp-form-select-ajax">
<a href="#reg-as-doctor-text-here-not-important" data-form_id="2">Open form 2 in lightbox</a>
</span>
Thanks,
Stiofan
Plugin Author
Stiofan
(@stiofansisland)
If you just means what forms to show in the lightbox, you can set them from setting at UsersWP->General->Register->Lightbox Form(s).
Thanks,
Stiofan