How to pass data to a modal to use in a process

Hi

So I have a login form

  • Email
  • Password

If the user tries to login and based on a flag in the database they have not verified the email address it will open a Modal.

This modal has button which will initiate a serverconnect to create a new link and send it to the email address added in the user initial login form on this page.

The underlying processes works, but I need the users email address passed to the Modals Serverconnect to use it to resend the link it to the email address.

Can someone point me in the direction of the process required to grab that email address that was entered in the first login form to use it in the modal and its serverconnect on submit?

Cheers!

Anyone looking to do the same I followed the process outlined here, except the model was activated on error rather than on click Variable to Modal then Modal executes query

1 Like

Yes, I always use variables to control all sorts of aspects of my user interface, modals being one of them!

1 Like