Jump to content

custom dialog for password entry


GDavis88

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

Recommended Posts

hi all so here is the problem i have a layout that is unusable until a hidden field is given a value that works fine but i have a button attached to a script that displays a custom dialog asking for a password the issue is that no matter what i type i type into the input field even the correct password it denies but still logs in i am using the exact function to match what they type to a field on another layout that holds the correct password

Here is the part of the script i cant get:

Show custom dialog ["Login"; "please enter the password"; register:password]

if [exact (register::password ; login::password)=0]

show custom dialog ["you have entered an incorrect password"]

all help will be greatly appreciated

Link to comment
Share on other sites

This is an insecure way to protect your database. You really should use FileMaker's Accounts and Privs. There are tons of threads on here where people tried creating custom login screens like you have, only to find out later that it is totally insecure.

Link to comment
Share on other sites

This topic is 5566 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.