TryAgain
[math show=f]OK=0[/math][/showif][showif [url][pass][/url]=]Error!
Enter a Password
TryAgain TryAgain TryAgain DOWNLOAD WEBDNA NOW! 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...
[math show=f]OK=0[/math][/showif]and the same for SecretWordFor the Email field I use a rather lengthy javascriptsnippet to check format etc, so that bad email entriesare avoided since I automatically email an activationcode after signup.All works like a charm 99.5% of the time I guessThis morning someone was able to submit that form withall fields blank, which caused[user][pass][email][secretword]to be written to the datanase.This then caused a little wierdness to happen onanother page for a reason I haven't been able todetermine yet.BUTwhat I'm wondering is.....Is my way the best way to ensure the fields are NOTempty??? is there a better way??? I don't want to use webdna errors.db for this, as myway keeps the design of the pages intact....I'm just puzzled why I can never ever get it to fail,yet on 3 occasions or so it has for other individuals.Thanks__________________________________________________Do You Yahoo!?Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com -------------------------------------------------------------This message is sent to you because you are subscribed to the mailing list
I have a very simple registration signup form with 4fieldsusernamepasswordemailsecret wordI use this kinda code to make sure the Username,Password, and SecretWord fields have data within them[math show=f]OK=1[/math][showif [user]=]Error!
Enter a username
[math show=f]OK=0[/math][/showif][showif [url][pass][/url]=]Error!
Enter a Password
[math show=f]OK=0[/math][/showif]and the same for SecretWordFor the Email field I use a rather lengthy javascriptsnippet to check format etc, so that bad email entriesare avoided since I automatically email an activationcode after signup.All works like a charm 99.5% of the time I guessThis morning someone was able to submit that form withall fields blank, which caused[user][pass][email][secretword]to be written to the datanase.This then caused a little wierdness to happen onanother page for a reason I haven't been able todetermine yet.BUTwhat I'm wondering is.....Is my way the best way to ensure the fields are NOTempty??? is there a better way??? I don't want to use webdna errors.db for this, as myway keeps the design of the pages intact....I'm just puzzled why I can never ever get it to fail,yet on 3 occasions or so it has for other individuals.Thanks__________________________________________________Do You Yahoo!?Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com -------------------------------------------------------------This message is sent to you because you are subscribed to the mailing list
Top Articles:
Talk List
Related Readings:
Possible Bug in 2.0b15.acgi (1997)
OS X, Running WebDNA in different directory (2005)
WebDNA FAQ or FAQs (2004)
WebCat b13 CGI -shownext- (1997)
multi-paragraph fields (1997)
Bug Report, maybe (1997)
WebCat2b12 CGI Mac - [shownext] problem (1997)
[WriteFile] problems (1997)
Credit Card Number Stripping Digit (1997)
It gets better... posting problems + Webcat 3.0.7available - did anyone know? (2000)
WebCatalog2 for NT Beta Request (1997)
PIXO with cometsite ... and/or other plugins (1998)
What about an ends with operator? (2000)
WebCat and OS9 (1999)
Ship Cost Calculated via Subtotal (1998)
WebCat for Unix?? (1997)
Emailer problems. (1998)
Email Spam a bit of Hell (2004)
WebCat2b15MacPlugin - [protect] (1997)
Nested vs conditional (1997)