Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > HTML > Form processing

Reply
Thread Tools

Form processing

 
 
Scott
Guest
Posts: n/a
 
      11-13-2003
Hi,

I hope someone might be able to set me straight on how to handle the
situation described below.

I have a page that has an email field for user input and 2 radio buttons
(subscribe + unsubscribe) for signing up to a mailing list. What I would
like to have happen is the following:
The user enters an email and presses the submit button.
At this point a new window opens (I would like to be able to specify size,
etc rather than use _blank) to process the submission and return a reponse
(succeeded, already subscribed, etc). The user would then close the window
by clicking on a 'close' link in the new window.
I would also like the form data cleared, so the user doesn't think the
submission didn't work, despite seeing the confirmation window.

Any ideas?

Thanks,
Scott


 
Reply With Quote
 
 
 
 
Michael Wilcox
Guest
Posts: n/a
 
      11-13-2003
Scott <> wrote:
> What I would like to have happen is the following:
> The user enters an email and presses the submit button.
> At this point a new window opens (I would like to be able to specify
> size, etc rather than use _blank) to process the submission and
> return a reponse (succeeded, already subscribed, etc).


Couldn't you just have the form direct the user to a new page which would
process their data and give a response? That would be much more acceptable
and less complicated than opening a new window.

> The user would
> then close the window by clicking on a 'close' link in the new window.
> I would also like the form data cleared, so the user doesn't think the
> submission didn't work, despite seeing the confirmation window.


This would all be solved with the new page as described above.

> Any ideas?


The processing certainly can't be done in HTML. For that you'll need a
language (I highly recomend PHP) which could manage all of your data in a
database and could also determine whether the user has already been
subscribed and other functions.
--
Michael Wilcox
mjwilco at yahoo dot com
Essential Tools for the Web Developer - http://mikewilcox.t35.com


 
Reply With Quote
 
 
 
 
Michael Wilcox
Guest
Posts: n/a
 
      11-13-2003
Scott <> wrote:
<snip problem description>

And please don't multipost. Use crossposting instead. See
http://www.cs.tut.fi/~jkorpela/usenet/xpost.html for more info.
--
Michael Wilcox
mjwilco at yahoo dot com
Essential Tools for the Web Developer - http://mikewilcox.t35.com


 
Reply With Quote
 
George Self
Guest
Posts: n/a
 
      11-13-2003
Scott wrote:

> Hi,
>
> I hope someone might be able to set me straight on how to handle the
> situation described below.
>
> I have a page that has an email field for user input and 2 radio buttons
> (subscribe + unsubscribe) for signing up to a mailing list. What I would
> like to have happen is the following:
> The user enters an email and presses the submit button.
> At this point a new window opens (I would like to be able to specify size,
> etc rather than use _blank) to process the submission and return a reponse
> (succeeded, already subscribed, etc). The user would then close the window
> by clicking on a 'close' link in the new window.
> I would also like the form data cleared, so the user doesn't think the
> submission didn't work, despite seeing the confirmation window.
>
> Any ideas?
>
> Thanks,
> Scott


Remember that many people now turn off popups (for good reason). If you
insist on using a popup you will likely loose many potential subscribers.
Just open a new page (as is common on the web) to indicate "success" or
"you're already registered" or whatever.

--George
 
Reply With Quote
 
 
 
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Re: Valid form element names? How to use ID instead of name? Processing form data Michael Winter HTML 4 03-06-2004 10:21 PM
Re: Valid form element names? How to use ID instead of name? Processing form data Robert HTML 0 03-06-2004 07:31 PM
Re: Valid form element names? How to use ID instead of name? Processing form data Jukka K. Korpela HTML 3 03-06-2004 04:30 PM
Document Object Model - table instead of form?? - slow processing in large form! Edward Javascript 0 02-05-2004 11:26 AM
Document Object Model - table instead of form?? - slow processing in large form! Edward Javascript 1 01-04-2004 03:25 AM



Advertisments
 



1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57