How do i set up a password textbox?

1,079 views
Skip to first unread message

Melissa Avina

unread,
Jun 12, 2014, 1:34:45 PM6/12/14
to mitappinv...@googlegroups.com
I want to set up a password textbox, in order to secure personal documents. But once the password is in and I click button 1, it will not take me to screen 2 which holds the documents. Can anyone help please?

Enis

unread,
Jun 12, 2014, 1:36:45 PM6/12/14
to mitappinv...@googlegroups.com
You need to use the Open Another Screen block from the Control Drawer, and once your password is verified, open the other screen.  You'll need to add a text block with the name of the screen to open.

Melissa Avina

unread,
Jun 12, 2014, 2:11:46 PM6/12/14
to mitappinv...@googlegroups.com
That is what I am trying to do, but I don't know how to arrange the blocks

Taifun

unread,
Jun 12, 2014, 2:47:23 PM6/12/14
to mitappinv...@googlegroups.com
It would really help if you provided a screenshot of your relevant blocks, so we can see what you are trying to do, and where the problem may be.

Taifun

Trying to push the limits of App Inventor! Snippets and Tutorials from Pura Vida Apps by Taifun.         

Melissa Avina

unread,
Jun 12, 2014, 3:26:52 PM6/12/14
to mitappinv...@googlegroups.com
This is what I have so far
Screen Shot 2014-06-12 at 12.23.10 PM.png

Enis

unread,
Jun 12, 2014, 3:39:03 PM6/12/14
to mitappinv...@googlegroups.com
I have NO idea what you're doing there.  If true?  If WHAT'S true?

Take out that close screen.  You use that in the screen you've opened when you want to close it.

Screen1 never closes until the end.

Use a password textbox.
Get the value.
Verify the value.
If the value is good, then open the screen.
Once the screen's open, do whatever you need to do there.
Then, in that opened screen, close it.
You need something to compare the password to.  You'll probably have to save that in a TinyDB or on the web using a TinyWebDB.

Is this a school project?

Melissa Avina

unread,
Jun 12, 2014, 3:47:18 PM6/12/14
to mitappinv...@googlegroups.com
yah it is for a school project, i will try it and see what happens, thanks

Melissa Avina

unread,
Jun 12, 2014, 3:56:28 PM6/12/14
to mitappinv...@googlegroups.com
Now what do I do?
Screen Shot 2014-06-12 at 12.55.40 PM.png

Enis

unread,
Jun 12, 2014, 3:58:28 PM6/12/14
to mitappinv...@googlegroups.com
When is your project due?

Melissa Avina

unread,
Jun 12, 2014, 4:00:47 PM6/12/14
to mitappinv...@googlegroups.com
not till next week, but I just need to get the password component down in order to complete the programming portion

Enis

unread,
Jun 12, 2014, 4:12:34 PM6/12/14
to

A box for entering passwords. This is the same as the ordinary TextBox component except this does not display the characters typed by the user.

The value of the text in the box can be found or set through the Text property. If blank, the Hint property, which appears as faint text in the box, can provide the user with guidance as to what to type.

Text boxes are usually used with the Button component, with the user clicking on the button when text entry is complete.

Then, you check the textbox's value to something that will allow you to verify if it's correct.

If it's correct, open the other screen.  If not correct, put up a notifier message to try again.

I'm NOT going to do your schoolwork for you. 

Have you done the tutorials?  You can easily research everything on the site.  If you haven't done the tutorials, then you haven't done your homework.  If your school project is to do the programming portion of the password textbox, start by doing the tutorials, and then search the site for the answers.

You are working with a textbox, but one that just doesn't show the characters as they're typed.

Melissa Avina

unread,
Jun 12, 2014, 5:18:26 PM6/12/14
to mitappinv...@googlegroups.com
Thank you

Taifun

unread,
Jun 12, 2014, 5:32:29 PM6/12/14
to mitappinv...@googlegroups.com
@Enis: in the first screenshot Melissa used the famous "Tribblehunter method", see here for how that works http://puravidaapps.com/tribblehunter.php



Taifun

Enis

unread,
Jun 12, 2014, 9:21:27 PM6/12/14
to mitappinv...@googlegroups.com
Thanks Taifun...
Reply all
Reply to author
Forward
0 new messages