Re: P1: How to make webcatalog more stable. - LONG
This WebDNA talk-list message is from
1999
It keeps the original formatting.
numero = 24138
interpreted = N
texte = >I know that in-house we do over three hundred checks on an email address to>check for validity, setting an error= variable when a condition happens.How can you possibly have 300 different checks on an email address? That seems like al awful lot of checks on a single field. No matter how many webdna checks you perform on an email address, those checks will never tell you if the email address is actually valid or not -- thus it seems there comes a point when more checks on the email address are a waste ...>Lets say that we then want to give them the>opportunity to fix the errors of their ways.>>Our simple>>>now would look like:>>but this has two problems.>>1) the first time you come to the page, WebCatalog has no idea of the field>[email] so it will literally put the text [email] in the box. Ugly>>so we fix this by putting:>value=[hideif [email]=[raw][email][/raw]][email][/hideif]>That's a very OLD-FASHIONED way to hide the [email] tag!Why don't you try an up-to-date and far simpler method?There is a very *simple* technique available that uses text variables to make this field blank the first time you come to the page. Just put [text]email=[/text] at the top of the page and the email variable will be set to 'blank' before the form gets filled in by webcat -- which means you NEVER HAVE TO WORRY ABOUT HIDING IT EVER AGAIN!!!By the way, you can do the same thing with every other field in the form as well ... :)>Therefor now we have to expand our input field a little.>value=[hideif [url][email][/url]=%5Bemail%5D][email][/hideif]>No, no, no, you do NOT have to use all this convoluted code! This is a crazy technique to use with webcat 3.x when other techniques are faster to code, simpler to understand, and faster to interpret by webcatalog.Brian, when you asked about this technique two weeks ago, I gave you my text variable solution within about 5 minutes -- so you would *not* have to hide the [email] tag like you seem to insist on doing now. I don't know why, but for some reason you never replied to my request asking you how it was going. You didn't even reply when I asked you a second time via private email ... ?Did you have a problem implementing it?Or didn't I explain it clearly enough for you to try it?Or was it too simple for you to believe that it would actually work?Kenneth GromeWebDNA ConsultantPhone 808-737-6499http://webdna.net-------------------------------------------------------------Brought to you by CommuniGate Pro - The Buzz Word Compliant Messaging Server.To end your Mail problems go to .This message is sent to you because you are subscribed to the mailing list .To unsubscribe, E-mail to: To switch to the DIGEST mode, E-mail to
Associated Messages, from the most recent to the oldest:
>I know that in-house we do over three hundred checks on an email address to>check for validity, setting an error= variable when a condition happens.How can you possibly have 300 different checks on an email address? That seems like al awful lot of checks on a single field. No matter how many webdna checks you perform on an email address, those checks will never tell you if the email address is actually valid or not -- thus it seems there comes a point when more checks on the email address are a waste ...>Lets say that we then want to give them the>opportunity to fix the errors of their ways.>>Our simple>>>now would look like:>>but this has two problems.>>1) the first time you come to the page, WebCatalog has no idea of the field>[email] so it will literally put the text [email] in the box. Ugly>>so we fix this by putting:>value=[hideif [email]=[raw][email][/raw]][email][/hideif]>That's a very OLD-FASHIONED way to hide the [email] tag!Why don't you try an up-to-date and far simpler method?There is a very *simple* technique available that uses text variables to make this field blank the first time you come to the page. Just put [text]email=[/text] at the top of the page and the email variable will be set to 'blank' before the form gets filled in by webcat -- which means you NEVER HAVE TO WORRY ABOUT HIDING IT EVER AGAIN!!!By the way, you can do the same thing with every other field in the form as well ... :)>Therefor now we have to expand our input field a little.>value=[hideif [url][email][/url]=%5Bemail%5D][email][/hideif]>No, no, no, you do NOT have to use all this convoluted code! This is a crazy technique to use with webcat 3.x when other techniques are faster to code, simpler to understand, and faster to interpret by webcatalog.Brian, when you asked about this technique two weeks ago, I gave you my text variable solution within about 5 minutes -- so you would *not* have to hide the [email] tag like you seem to insist on doing now. I don't know why, but for some reason you never replied to my request asking you how it was going. You didn't even reply when I asked you a second time via private email ... ?Did you have a problem implementing it?Or didn't I explain it clearly enough for you to try it?Or was it too simple for you to believe that it would actually work?Kenneth GromeWebDNA ConsultantPhone 808-737-6499http://webdna.net-------------------------------------------------------------Brought to you by CommuniGate Pro - The Buzz Word Compliant Messaging Server.To end your Mail problems go to .This message is sent to you because you are subscribed to the mailing list .To unsubscribe, E-mail to: To switch to the DIGEST mode, E-mail to Kenneth Grome
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...