Hi Liam,

Your scripts looks fine, only it could be a little shorter, slightly faster and, following Sarah's advice, slightly more secure:

set the caseSensitive to true
set the itemdel to comma
ask "User Name"
if it is empty then exit mouseup
put it into tUser
put item 2 of line lineoffset(tUser & comma,fld "pass") of fld "pass" into tPassword
ask password "Please enter your password"
if it is tPassword then
  answer "yahooo" -----Do what ever here
else
  -- blabla
end if

Untested, but I think it will work.

Best,

Mark

--

Economy-x-Talk
Consultancy and Software Engineering
http://economy-x-talk.com
http://www.salery.biz

Salery is the easiest way to set up your own web store: http:// www.salery.biz/salery.html


Op 27-apr-2006, om 0:06 heeft Liam Lambert het volgende geschreven:

Mark thank you

I finely worked out what I needed

set the itemdel to comma
  ask "User Name"
  if it is empty then exit mouseup
  put it into tUser
  repeat for each line tline in fld "pass" ----This is a hidden fld
    if item 1 of tline is tUser then
      put item 2 of tline into tPassword
    end if
  end repeat
  ask "Please enter your password"
  if it is tPassword then
    answer "yahooo" -----Do what ever here
  else
    answer "Wrong Pass"
  end if

Liam

Ireland

_______________________________________________
use-revolution mailing list
[email protected]
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution

Reply via email to