# Password Fields and If/Else Statements

**URL:** <https://forum.kirupa.com/t/password-fields-and-if-else-statements/192592>\
**Category:** Uncategorized\
**Created:** [June 29, 2006, 4:49pm UTC](https://forum.kirupa.com/t/password-fields-and-if-else-statements/192592 "2006-06-29T16:49:04Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![berkoWitZ](https://avatars.discourse-cdn.com/v4/letter/b/b9bd4f/32.png) [@berkoWitZ](https://forum.kirupa.com/u/berkoWitZ)\
**Post date:** [June 29, 2006, 4:49pm UTC](https://forum.kirupa.com/t/password-fields-and-if-else-statements/192592/1 "2006-06-29T16:49:04Z")

</div>

hi!

I´m using this simple code similar to a tutorial here on kirupa, where you put your password and if it is valid it redirects you to a URL I defined, you can see the AS in the “Go” button. My question is how can I add another field for username not just a password? I tried some things but no luck ☹ maybe someone can point me in the right direction and tell me what to do :cons:

Thanks!
