Jump to content

Input Check Kullanımı


pcusta_99
 Share

Recommended Posts

Arkadaşlar

[code]
sifre = "123"
user = Input.GetText("Input1")

if pass == sifre then
Page.Jump("Page2") else
Dialog.Message("Hata", "Giriş bilgileriniz yanlış")
end[/code]

butona tıkladığım zaman şifreyi doğru girsemde girmesemde Giriş bilgileriniz yanlış diyor. Bu kodu nasıl düzenlemeliyim ? Edited by pcusta_99
Link to comment
Share on other sites

[quote]

sifre = "123"
pass = Input.GetText("Input2")
user = Input.GetText("Input1")

if pass == sifre then
Page.Jump("Page2")
else
Dialog.Message("Hata", "Giriş bilgileriniz yanlış")
end [/quote]

yeni bir input ekleyip üstteki gibi deneyin

Link to comment
Share on other sites

[quote name='Kazım' date='10 November 2011 - 18:07 ' timestamp='1320941253' post='1109585']
yeni bir input ekleyip üstteki gibi deneyin
[/quote]


Yine işe yaramdı üstadım. Rica etsem TeamViewer yada başka bir yolla yardımcı olabilir misiniz ?

Link to comment
Share on other sites

Şayet ikili yapmak istersen
[quote]cKullanici="123"
cParola="123"
kullanici = Input.GetText("Input1");
parola = Input.GetText("Input2");


if cKullanici == kullanici and cParola == parola then
Page.Jump("Page2")
else
Dialog.Message("Hata", "Giriş bilgileriniz yanlış")
end
[/quote]

Edited by ReaLyMaN
Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

 Share

  • Recently Browsing   0 members

    No registered users viewing this page.

×
×
  • Create New...