How do I make a password determine a buttons function?

I am having a problem with my code where I am trying to make the "SendOutConfirm" button that sends out messages to a list with the password needed (TeacherPasswordConfirmButton), Problem is I can still "Send Out Alerts" without the "Teachers Password"

How do I fix this?

Your Confirm button click event (SendOutQuestion ?) does not appear to contain any reference to the teacher's password....

Oh I see, So what should I add to fix it?

You will need a similar if condition test to the teachers Confirm button, if password is correct, then send the message.

1 Like

Ah I see, I am a little confused on how to start this

Something like this:

1 Like