Guest passwords and member passwords

Thanks for the info Gaspar. To have the database query for the link, how do I adjust your code above. I changed “theirUrl” to the field name corresponding in my database. Is there anything else in the code I need to change for the button