Jump to content
Sign in to follow this  

stop button from being used more than once

Recommended Posts

Hello friends i have a script which is connected to a button that shows a custom dialog asking for a username which then puts that name into a field i would then like for that button to become useless until they log out is there a way to do this?

Thanks for any help in advance

Share this post

Link to post
Share on other sites

Is that field empty upon sign-in? If so:

If(Not IsEmpty(Sign_In_Field)

Exit Script


//Go on with the rest of the script.

Now after the user signs in if you click on the button nothing happens. You could also set the button with conditional formatting to be grayed out if(Not IsEmpty(Sign_In_Field). Now you have a grayed button that will do nothing as long as the sign in field has data in it.

If the sign_in field is empty then set a global field as a tag. If its true exit script.


Edited by Guest

Share this post

Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this  


Important Information

By using this site, you agree to our Terms of Use.