What is WebDNA
WebDNA and BioType
Download WebDNA
WebDNA resources
What is WebDNA
WebDNA and BioType
Download WebDNA
WebDNA resources
What is WebDNA
WebDNA and BioType
Download WebDNA
WebDNA resources
What is WebDNA
WebDNA and BioType
Download WebDNA
WebDNA resources
[/ShowIf]>>[ShowIf [Field2]=]>Please hit the back button and fill in Field Two
[/ShowIf]>>The problem is if multiple fields are left blank, the template returns a>list of Please hit the back button and fill in Field such and such>(there are about 20 fields on the page). Functional, but not necessarily>pretty>>I would prefer to have it return just one message instead. (Please hit>the back button and fill in all required fields) Any ideas on a>solution?This is something I've always wanted but I don't remember if I've evermentioned before. I think there's a way to do this with math variables ifI'm not mistaken ...Here's another approach you may want to use for *some* append situations:I've realized that even if you force people to enter data into a field, youstill cannot force them to enter the 'correct' data into that field.Sometimes people think they are getting away with something by enteringbogus data. Here's a way to eliminate some of those bogus database records...Don't even try to check your forms for blank fields. Instead, let peopleenter whatever they want to enter ... then use some WebDNA to automaticallydelete any records that have been entered with 'blank' data in your'required' fields.When I do this, I put some text next to a required field saying this fieldis required, but I do not try to enforce that requirement. If the personthinks he/she can get away with something by NOT entering data into one ofthe fields I labeled as required, I just let them think that.Then after they append their record (with blank fields) to the database ...thinking they have gotten away with something ... my WebDNA deletes thatrecord.This makes it very easy for me to create my append forms, because I don'tbother to do a lot of checking before the data gets entered, I simplydelete any new records that don't live up to my requirements - after theyhave already been added to the database.While I realize that this will *not* be a good solution in cases where youreally *need* to make people enter something, it sure works great in othersituations ... :)Sincerely, Ken GromeWebDNA Solutionshttp://www.hui.net/dna/webdna.html
Associated Messages, from the most recent to the oldest:
|
[/ShowIf]>>[ShowIf [Field2]=]>Please hit the back button and fill in Field Two
[/ShowIf]>>The problem is if multiple fields are left blank, the template returns a>list of Please hit the back button and fill in Field such and such>(there are about 20 fields on the page). Functional, but not necessarily>pretty>>I would prefer to have it return just one message instead. (Please hit>the back button and fill in all required fields) Any ideas on a>solution?This is something I've always wanted but I don't remember if I've evermentioned before. I think there's a way to do this with math variables ifI'm not mistaken ...Here's another approach you may want to use for *some* append situations:I've realized that even if you force people to enter data into a field, youstill cannot force them to enter the 'correct' data into that field.Sometimes people think they are getting away with something by enteringbogus data. Here's a way to eliminate some of those bogus database records...Don't even try to check your forms for blank fields. Instead, let peopleenter whatever they want to enter ... then use some WebDNA to automaticallydelete any records that have been entered with 'blank' data in your'required' fields.When I do this, I put some text next to a required field saying this fieldis required, but I do not try to enforce that requirement. If the personthinks he/she can get away with something by NOT entering data into one ofthe fields I labeled as required, I just let them think that.Then after they append their record (with blank fields) to the database ...thinking they have gotten away with something ... my WebDNA deletes thatrecord.This makes it very easy for me to create my append forms, because I don'tbother to do a lot of checking before the data gets entered, I simplydelete any new records that don't live up to my requirements - after theyhave already been added to the database.While I realize that this will *not* be a good solution in cases where youreally *need* to make people enter something, it sure works great in othersituations ... :)Sincerely, Ken GromeWebDNA Solutionshttp://www.hui.net/dna/webdna.html
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...