Trouble with [Math]

This WebDNA talk-list message is from

1998


It keeps the original formatting.
numero = 19652
interpreted = N
texte = I'm having trouble with the math context, this looks right to me but mabye I have been staring at it too long.Here is the form.
Here is where I am having the problem[math]error=0[/math] [hideif [password1]=[password2]][math]error+1[/math][/hideif] [showif [math]error[/math]=1][redirect signup.html?name=[name]&username=[username]&paymethod=[paymethod]][/showif] [showif [math]error[/math]=0][sendmail to=rhatch@mindinfo.com&from=[username]@mindinfo.com&subject=Dpec Online Training Course Signup]NAME = [name] USERNAME = [username] PASSWORD = [password1] PAYMENT METHOD = [paymethod][ipaddress] [date] [time] [/sendmail][redirect http://online.mindinfo.com] [/showif]It always sends mail, and always executes the second redirect, even if the password fields don't match.Ray Associated Messages, from the most recent to the oldest:

    
  1. Re: Trouble with [Math] (Raymond Hatch 1998)
  2. Re: Trouble with [Math] (Rob Marquardt 1998)
  3. Re: Trouble with [Math] (Sandra L. Pitner 1998)
  4. Trouble with [Math] (Raymond Hatch 1998)
I'm having trouble with the math context, this looks right to me but mabye I have been staring at it too long.Here is the form.[referrer]~formvalidation.html][name][/showif]>[referrer]~formvalidation.html][name][/showif]> [referrer]~formvalidation.html][showif [paymethod]=credit]checked[/showif][/showif]> [referrer]~formvalidation.html][showif [paymethod]=checking]checked[/showif][/showif]> [referrer]~formvalidation.html][showif [paymethod]=cash]checked[/showif][/showif]> Here is where I am having the problem[math]error=0[/math] [hideif [password1]=[password2]][math]error+1[/math][/hideif] [showif [math]error[/math]=1][redirect signup.html?name=[name]&username=[username]&paymethod=[paymethod]][/showif] [showif [math]error[/math]=0][sendmail to=rhatch@mindinfo.com&from=[username]@mindinfo.com&subject=Dpec Online Training Course Signup]NAME = [name] USERNAME = [username] PASSWORD = [password1] PAYMENT METHOD = [paymethod][ipaddress] [date] [time] [/sendmail][redirect http://online.mindinfo.com] [/showif]It always sends mail, and always executes the second redirect, even if the password fields don't match.Ray Raymond Hatch

DOWNLOAD WEBDNA NOW!

Top Articles:

Talk List

The WebDNA community talk-list is the best place to get some help: several hundred extremely proficient programmers with an excellent knowledge of WebDNA and an excellent spirit will deliver all the tips and tricks you can imagine...

Related Readings:

[ReturnRaw] and hiding FORM data (2003) Unknown error: OrderNotCreated (1997) [WebDNA] [thisautonumber] and [lastautonumber] (2011) can webcat create directories on NT? (1997) Secure Server (1999) emailer setup (1997) Force a search at the default.tmpl page? (1997) Searching help needed (1998) Emailer Problem (1998) [Webcat 2]Next (1997) WebCatalog/Mac 2.1b2 New Features (1997) 2.0Beta Command Ref (can't find this instruction) (1997) Determining Method (2000) orderfile headers (was: 2nd Request for help/adviceonvariable pricing) (2000) Passwords, Subscription, DBs, oh my! (2000) [WebDNA] Server load (2008) using showpage and showcart commands (1996) Formatting ModDate (2000) Out of the woodwork (2007) Bug Report, maybe (1997)