Jump to content
Server Maintenance This Week. ×

stop button from being used more than once


This topic is 5574 days old. Please don't post here. Open a new topic instead.

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

Link to comment
Share on other sites

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

If(Not IsEmpty(Sign_In_Field)

Exit Script

Endif

//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.

hth

Edited by Guest
Link to comment
Share on other sites

This topic is 5574 days old. Please don't post here. Open a new topic instead.

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
×
×
  • Create New...

Important Information

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