stopping Handlers
Eric Chatonet
eric.chatonet at sosmartsoftware.com
Thu Jan 12 16:14:34 EST 2006
Hi Liam,
on fCredit
if fld "credit" = empty then
answer "No credit card number."
EXIT TO TOP
end fCredit
Thinking of ergonomics, you might prefer to come back to a previous
screen modified to allow the user to correct his error instead :-)
on fCredit
if fld "credit" = empty then
go back -- you get the idea
EXIT TO TOP
end fCredit
Le 12 janv. 06 à 22:08, liamlambert a écrit :
> on mouseUp
> if fld "paymenttype" = "credit card" then fcredit ------fcredit
> the card number was filled in
> fSave
> TotalSeats
> end mouseUp
>
>
> on fCredit
> if fld "credit" = "" then answer "NO CREDIT CARD NUMBER" ---- if
> it answers then I want it to stop
> end fCredit
Best Regards from Paris,
Eric Chatonet
------------------------------------------------------------------------
----------------------
http://www.sosmartsoftware.com/ eric.chatonet at sosmartsoftware.com/
More information about the use-livecode
mailing list