Re: form validator issue
This WebDNA talk-list message is from 2005
It keeps the original formatting.
numero = 61490
interpreted = N
texte = I've never used [Math] before to do a validation, I'vealways used [text]Try this[showif[BLOGTITLE]=][text]failed=T[/text]
BLOGTITLE:[/showif][showif [failed]=T]Error!
Enter a Blog Title
[/showif]Sal D'Anna-----Original Message-----From: WebDNA Talk[mailto:WebDNA-Talk@talk.smithmicro.com] On Behalf OfLesterSent: Friday, March 18, 2005 8:24 AMTo: WebDNA TalkSubject: form validator issueI have a pretty simple form.A few fields that I require to be filled out used in ablog type site. All was well until I added the abilityto upload a photo on the same form.I use this technique to make sure certain fields arenot empty and if they have data the [append]continues...[math show=f]OK=1[/math][showif [BlogTitle]=]Error!
Enter a Blog Title
[math show=f]OK=0[/math][/showif]etc etc If "OK=1" the [append] takes place, if not the errorwarns the user.Before I adedd the upload photo part my form beganthis way: