A Flash Developer Resource Site

Results 1 to 3 of 3

Thread: can you have a multiple password?

Hybrid View

  1. #1
    Junior Member
    Join Date
    Nov 2000
    Posts
    23
    Does anyone know if you can have two passwords for one input text box, if so, is there syntax that concatenates the two or something, i.e set variable pass=mypass1+mypass2? Please help, thanks...

  2. #2
    Junior Member
    Join Date
    Jan 2001
    Posts
    24
    yea you can.
    but you don't want to add them together.


    you can write a "if...else if"
    or even easier password1 || password2 || password || etc.
    look up the || operator it stands for OR
    that should do it

  3. #3
    Designer, Programmer, Musician angelhdz's Avatar
    Join Date
    Mar 2010
    Posts
    971
    Quote Originally Posted by uberflash View Post
    yea you can.
    but you don't want to add them together.


    you can write a "if...else if"
    or even easier password1 || password2 || password || etc.
    look up the || operator it stands for OR
    that should do it
    Thanks, that worked for me.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  




Click Here to Expand Forum to Full Width

HTML5 Development Center