...

View Full Version : Is it possible?



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?

webdev1958
03-02-2012, 05:55 AM
Is it possible?

Yes it's very possible both client side (javascript) and server side (Java, PHP, ASP etc).

But unless this is some sort of homework exercise, you should be doing all this server side because it won't work in javascript disabled devices.

If this is for a real world application, then server side is the only option that will work on all devices.

Are you sure you still want to do this with javascript/.

MeNoLikeyScript
03-02-2012, 06:28 AM
It is for real world application for a client and I would need it to work on multiple devices, it just has to work it does not matter which language.

If anyone is able to do the work please PM me a ballpark timeframe and price :)

webdev1958
03-02-2012, 06:48 AM
1) What server side scripting languages does your web server support?

2) Is SMTP enabled on your web server (if using PHP mail())?

3) What percentage of the fee are you willing to pay upfront, in case you change your mind after work has started?

4) How many keywords will you have stored?

5) Do you want to use a database to store the keywords and their associated responses?

MeNoLikeyScript
03-02-2012, 07:22 AM
1) What server side scripting languages does your web server support?

2) Is SMTP enabled on your web server (if using PHP mail())?

3) What percentage of the fee are you willing to pay upfront, in case you change your mind after work has started?

4) How many keywords will you have stored?

5) Do you want to use a database to store the keywords and their associated responses?

Hosting arrangements have not been finalized yet though GoDaddy is likey which supports-
Frontpage Server Ext.
Server Side Includes (SSI)
ASP
ASP.NET v4.0
ASP.NET v1.0/2.0/3.0/3.5
ASP.NET AJAX
PHP5
ASP.NET MVC3
Silverlight Hosting

Keywords will be between 100-300 with approx 50 responses.

A database will be needed.

To discuss the job in further detail please PM me. :)

webdev1958
03-02-2012, 09:19 PM
There are still too many unknowns for me to get involved.

Good luck :)



EZ Archive Ads Plugin for vBulletin Copyright 2006 Computer Help Forum