MeNoLikeyScript
03-02-2012, 05:18 AM
Hey Everyone,
I would like to know if the following is possible with JavaScript-
I would like a 'form' that captures a users name, email and a question and sends this to my email but also gives the user an instant answer.
Example-
users enter their name and email as well as a question, this information is emailed to me and then the javascript finds keywords from their question and is able to give them a response, as in if their question has the words 'money' and 'pay' it gives them a certain response but if it contains the words 'beach' and 'sun' it gives them a different response. The answers do not have to be correct or completely relevant. What I would like is similar to this website (http://phrasegenerator.com/).
Is it possible?
I would like to know if the following is possible with JavaScript-
I would like a 'form' that captures a users name, email and a question and sends this to my email but also gives the user an instant answer.
Example-
users enter their name and email as well as a question, this information is emailed to me and then the javascript finds keywords from their question and is able to give them a response, as in if their question has the words 'money' and 'pay' it gives them a certain response but if it contains the words 'beach' and 'sun' it gives them a different response. The answers do not have to be correct or completely relevant. What I would like is similar to this website (http://phrasegenerator.com/).
Is it possible?