SearchSearch   

javascript and slider?

 
   Webmaster Forums (Home) -> Javascript RSS
Next:  random page link question  
Author Message
Geoff Cox

External


Since: Sep 03, 2005
Posts: 190



(Msg. 1) Posted: Tue Aug 30, 2005 2:25 pm
Post subject: javascript and slider?
Archived from groups: comp>lang>javascript (more info?)

Hello,

I am looking for some help on using Javascript to create a slider. The
user would use the slider to give a reaction to a series of questions.

A button would be clicked to move to the next question. At this point
the slider value goes into an array.

After the last question all the slider values from the array are sent
to me via email using the CGI/form approach.

Any ideas please?! I have found code to create the slider but I'm not
clear how to get the values into the form and then to me by email..

Cheers

Geoff
Back to top
Geoff Cox

External


Since: Jan 06, 2009
Posts: 3



(Msg. 2) Posted: Tue Jan 06, 2009 8:20 am
Post subject: Re: javascript and slider?
Archived from groups: per prev. post (more info?)

On Tue, 30 Aug 2005 14:25:14 GMT, Geoff Cox
<geoff.cox.RemoveThis@notquitecorrectfreeuk.com> wrote:

>Hello,
>
>I am looking for some help on using Javascript to create a slider. The
>user would use the slider to give a reaction to a series of questions.
>
>A button would be clicked to move to the next question. At this point
>the slider value goes into an array.
>
>After the last question all the slider values from the array are sent
>to me via email using the CGI/form approach.
>
>Any ideas please?! I have found code to create the slider but I'm not
>clear how to get the values into the form and then to me by email..
>
>Cheers
>
>Geoff

no responses so far!

Cheers

Geoff
Back to top
Conrad Lender

External


Since: Jan 06, 2009
Posts: 1



(Msg. 3) Posted: Tue Jan 06, 2009 10:01 am
Post subject: Re: javascript and slider?
Archived from groups: per prev. post (more info?)

On 2009-01-06 09:20, Geoff Cox wrote:
> On Tue, 30 Aug 2005 14:25:14 GMT, Geoff Cox
> <geoff.cox.RemoveThis@notquitecorrectfreeuk.com> wrote:

Hm, blast from the past Smile

>>A button would be clicked to move to the next question. At this point
>>the slider value goes into an array.
>>
>>After the last question all the slider values from the array are sent
>>to me via email using the CGI/form approach.
>>
>>Any ideas please?! I have found code to create the slider but I'm not
>>clear how to get the values into the form and then to me by email..

> no responses so far!

Wait a minute, let me get this straight. You've managed to implement (or
add) a slider control, but for the last 3.5 years you've been working on
submitting the form?

Assuming that you can read the value from the slider when the "next"
button is clicked, just push() it to a global array from the click
handler. Give your form a hidden field, and fill it when you display the
form after the last question; for example:

document.forms[0].elements["myHiddenField"].value =
myGlobalArray.join("~");

Then split the values on the server side. JS can't send e-mail by itself
(usually). Some user agents allow posting to mailto:-URLs, but that's
unreliable at best. You'll need to read the submitted values in the CGI
and send the mail from there.

I suppose there's more to it, or this wouldn't have taken you 3+ years,
but I can't see anything else in your description.


- Conrad
Back to top
Logos

External


Since: Jan 07, 2009
Posts: 1



(Msg. 4) Posted: Wed Jan 07, 2009 8:10 am
Post subject: Re: javascript and slider?
Archived from groups: per prev. post (more info?)

On Jan 6, 1:20 am, Geoff Cox <g....RemoveThis@removethisword.freeuk.com> wrote:
> On Tue, 30 Aug 2005 14:25:14 GMT, Geoff Cox
>
>
>
> <geoff.....RemoveThis@notquitecorrectfreeuk.com> wrote:
> >Hello,
>
> >I am looking for some help on using Javascript to create a slider. The
> >user would use the slider to give a reaction to a series of questions.
>
> >A button would be clicked to move to the next question. At this point
> >the slider value goes into an array.
>
> >After the last question all the slider values from the array are sent
> >to me via email using the CGI/form approach.
>
> >Any ideas please?! I have found code to create the slider but I'm not
> >clear how to get the values into the form and then to me by email..
>
> >Cheers
>
> >Geoff
>
> no responses so far!
>
> Cheers
>
> Geoff

Quite possibly there were none because your question demonstrates a
huge knowledge gap. My advice would have been to learn more about
Javascript or if it had been urgent to get a buddy or hire someone to
do it for you; I would have added that you'd then need to post
somewhere else about the CGI question, as this isn't the right
newsgroup for it.

--
Tyler Style
http://malthusian-solutions.com
http://nirdvana.com
Back to top
Geoff Cox

External


Since: Jan 06, 2009
Posts: 3



(Msg. 5) Posted: Thu Jan 08, 2009 4:05 am
Post subject: Re: javascript and slider?
Archived from groups: per prev. post (more info?)

On Tue, 06 Jan 2009 10:01:04 +0100, Conrad Lender <crlender RemoveThis @yahoo.com>
wrote:

>On 2009-01-06 09:20, Geoff Cox wrote:
>> On Tue, 30 Aug 2005 14:25:14 GMT, Geoff Cox
>> <geoff.cox RemoveThis @notquitecorrectfreeuk.com> wrote:
>
>Hm, blast from the past Smile
>
>>>A button would be clicked to move to the next question. At this point
>>>the slider value goes into an array.
>>>
>>>After the last question all the slider values from the array are sent
>>>to me via email using the CGI/form approach.
>>>
>>>Any ideas please?! I have found code to create the slider but I'm not
>>>clear how to get the values into the form and then to me by email..
>
>> no responses so far!
>
>Wait a minute, let me get this straight. You've managed to implement (or
>add) a slider control, but for the last 3.5 years you've been working on
>submitting the form?

Wow! Please accept my apologies. I have just had to re-install Agent
and wasn't sure if I had it set up correctly so thought I could
respond to this posting which I made, as you realised, a few years
ago. I thought, wrongly, that it would appear way back with the old
message.

However, what you have said looks interesting. so will give that some
thought.

Thanks

Geoff


>
>Assuming that you can read the value from the slider when the "next"
>button is clicked, just push() it to a global array from the click
>handler. Give your form a hidden field, and fill it when you display the
>form after the last question; for example:
>
> document.forms[0].elements["myHiddenField"].value =
> myGlobalArray.join("~");
>
>Then split the values on the server side. JS can't send e-mail by itself
>(usually). Some user agents allow posting to mailto:-URLs, but that's
>unreliable at best. You'll need to read the submitted values in the CGI
>and send the mail from there.
>
>I suppose there's more to it, or this wouldn't have taken you 3+ years,
>but I can't see anything else in your description.
>
>
> - Conrad
Back to top
Geoff Cox

External


Since: Jan 06, 2009
Posts: 3



(Msg. 6) Posted: Thu Jan 08, 2009 4:05 am
Post subject: Re: javascript and slider?
Archived from groups: per prev. post (more info?)

On Wed, 7 Jan 2009 08:10:23 -0800 (PST), Logos <tyler.style.RemoveThis@gmail.com>
wrote:

>On Jan 6, 1:20 am, Geoff Cox <g....RemoveThis@removethisword.freeuk.com> wrote:
>> On Tue, 30 Aug 2005 14:25:14 GMT, Geoff Cox
>>
>>
>>
>> <geoff.....RemoveThis@notquitecorrectfreeuk.com> wrote:
>> >Hello,
>>
>> >I am looking for some help on using Javascript to create a slider. The
>> >user would use the slider to give a reaction to a series of questions.
>>
>> >A button would be clicked to move to the next question. At this point
>> >the slider value goes into an array.
>>
>> >After the last question all the slider values from the array are sent
>> >to me via email using the CGI/form approach.
>>
>> >Any ideas please?! I have found code to create the slider but I'm not
>> >clear how to get the values into the form and then to me by email..
>>
>> >Cheers
>>
>> >Geoff
>>
>> no responses so far!
>>
>> Cheers
>>
>> Geoff
>
>Quite possibly there were none because your question demonstrates a
>huge knowledge gap. My advice would have been to learn more about

worse than a Javascript gap - a knowledge gap re how this group works
- my explanation and apology are in my earlier response.

Geoff



>Javascript or if it had been urgent to get a buddy or hire someone to
>do it for you; I would have added that you'd then need to post
>somewhere else about the CGI question, as this isn't the right
>newsgroup for it.
Back to top
Display posts from previous:   
       Webmaster Forums (Home) -> Javascript
Page 1 of 1

 
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum