From: Franky V. L. <lie...@te...> - 2008-04-08 13:27:31
|
If the customer needs to log in to take the survey, then this is very easy to do: create a login form that takes username, password, email, servicenumber etc ... do the validation and let them pass to the survey only when everything is ok. If he doesn't need to log in, then code changes are needed: one extra column in the question table to indicate required uniqueness, a change in the question creation form to indicate uniqueness and also a check upon submit It's not too complicated to do though ... maybe I'll do it anyway this week :-) Franky ----- Original Message ----- Subject: Re: [phpesp-general] if answer is x do this From: fid...@pl... To: php...@li... Date: 08-04-2008 14:24 Hi, Thanks for the answer. To bad it isn't possible yet. I'm looking forward for that. The Unique number is an service number. So if the customer is not pleased about something we can trace him/her with this number. The customer will get this number when there is an service job. With the survey they can tell us how happy there are about it. After this al they get an discount coupon. To secure abuse of using the twice or more. the systems checks on IP, Email, and service number. now this check is after the survey(outro page) but without the service number check. The way it is now is not very clean. So I would like to intergrate all this into the survey.Isn't it possible to "cook" this in myself? Jasper ------------------------- Van: php...@li... namens Franky Van Liedekerke Verzonden: di 8-4-2008 13:49 Aan: php...@li... Onderwerp: Re: [phpesp-general] if answer is x do this Hi, actions on answers are not (yet) possible, you can always file a feature request for this (with an example of how and why to use it). The same goes for unique responses (although I fail to see the use for that, for surveys users should be oblivious of other people's answers). Franky ----- Original Message ----- Subject: [phpesp-general] if answer is x do this From: fid...@pl... To: php...@li... Date: 08-04-2008 12:34 Hello, Is it possible to apply an action after a question? For example: if the answer is A send an email to ex...@ex...[1] else nothing. Another thing I want to do is, If the answare already exist you cannot continue (when the user must fill in an unique number). In a stand alone php file I can make this work. but I don't know how to intergrate this in phpESP. Does someone know how/where I can do this? Met vriendelijke groet,(With friendly greetings) Jasper Fidder ------------------------------------------------------------------------- This SF.net email is sponsored by the 2008 JavaOne(SM) Conference Register now and save $200. Hurry, offer ends at 11:59 p.m., Monday, April 7! Use priority code J8TLD2. http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone_______________________________________________ phpESP-general mailing list php...@li... https://lists.sourceforge.net/lists/listinfo/phpesp-general ------------------------------------------------------------------------- This SF.net email is sponsored by the 2008 JavaOne(SM) Conference Register now and save $200. Hurry, offer ends at 11:59 p.m., Monday, April 7! Use priority code J8TLD2. http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone_______________________________________________ phpESP-general mailing list php...@li... https://lists.sourceforge.net/lists/listinfo/phpesp-general Links: ------ [1] mailto:ex...@ex... |