Jump to content
Sign in to follow this  
GDavis88

custom dialog for password entry

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

Share this post


Link to post
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.

Share this post


Link to post
Share on other sites

the security does not matter right now i am going to be using this for my own small sandwich shop in the future i might want to change it but for now this will suffice

Share this post


Link to post
Share on other sites

not to be annoying or anything but could someone point me in the right direction here this has had me stumped for a while now

Share this post


Link to post
Share on other sites

Only button 1 will pass the data entry through to the input field.

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  

  • Who Viewed the Topic

    1 member has viewed this topic:
    siroos12 
×

Important Information

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