Re: Trouble with [Math]

This WebDNA talk-list message is from

1998


It keeps the original formatting.
numero = 19655
interpreted = N
texte = That staring will do it every time! Shouldn't[math]error+1[/math]be[math]error=error+1[/math] ??Rule # 1: When it doesn't work and you can't figure why, take a break and blink those eyes! ;-)Sandy >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 > > > 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)
That staring will do it every time! Shouldn't[math]error+1[/math]be[math]error=error+1[/math] ??Rule # 1: When it doesn't work and you can't figure why, take a break and blink those eyes! ;-)Sandy >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 > > > Sandra L. Pitner

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:

[BULK] [WebDNA] Snow Leopard Server install problems (2010) WebCatalog Hosting (1996) Forms Search Questions (1997) Plugin or CGI or both (1997) Signal Raised Error (1997) [OT] Change permissions via FTP? (2002) The future of WebCatalog is coming with 4.0... (2000) Erotic Sites (1997) Append again (1999) Forms Search Questions (1997) return two fields w/ [lookup] (1998) unsubscribe (1997) SSL with IIS 4.0 (1998) form data submission gets truncated (1997) New command suggestion (1997) RE: PIXO support (1997) [SHOWNEXT] Examples (1997) Integration? (1999) groupfields .. again... (2000) WebCat2b12--[searchstring] bug (1997)