Forums
This topic is locked
Petitions
Posted 16 Feb 2005 21:50:18
1
has voted
16 Feb 2005 21:50:18 marcus marcus posted:
HiHow do I make an easy petition on my webpage using Dreamweaver.
All i want is name, email and location. When they push the button their names will be shown on a list.
wormuz
Replies
Replied 16 Feb 2005 22:31:23
16 Feb 2005 22:31:23 Simon Martin replied:
You could use CGI scripts... but this is the year 2005 and there's no reason to stick to technologies of the 1900's
So I would opt for using ASP and a simple database (MSDE is great, or you could use Access)
Set up a form on your page with text fields for the data you want (also add a datestamp to the record so you can show when it was added)
When they hit the button INSERT that into your database.
To show the list create a recordset of all names in your table and put it in a repeat region - you could consider putting recordset navigation on so the page only shows 100 names at a time and then you have to move to the next page (might be a bit more than you want to do)
The tutorial in DW has everything you need to get that lot done.
The database design doesnt need to be fully normalised - so you could get away with a single table in there.
But if you get stuck on any part of that process then please let us know
Live the life you love
Love the life you live
~ ~ ~ ~ ~ ~ ~
<b>Simon Martin</b> - <i>DMXzone Manager</i>
<font size=1>[ Dreamweaver MX/MX2004 | ASP | SQL | XHTML/CSS | Web Accessibility ] </font id=size1>
So I would opt for using ASP and a simple database (MSDE is great, or you could use Access)
Set up a form on your page with text fields for the data you want (also add a datestamp to the record so you can show when it was added)
When they hit the button INSERT that into your database.
To show the list create a recordset of all names in your table and put it in a repeat region - you could consider putting recordset navigation on so the page only shows 100 names at a time and then you have to move to the next page (might be a bit more than you want to do)
The tutorial in DW has everything you need to get that lot done.
The database design doesnt need to be fully normalised - so you could get away with a single table in there.
But if you get stuck on any part of that process then please let us know
Live the life you love
Love the life you live
~ ~ ~ ~ ~ ~ ~
<b>Simon Martin</b> - <i>DMXzone Manager</i>
<font size=1>[ Dreamweaver MX/MX2004 | ASP | SQL | XHTML/CSS | Web Accessibility ] </font id=size1>
Replied 18 Feb 2005 09:18:30
18 Feb 2005 09:18:30 Dan Berdusco replied:
Just a side-note/question as I am considering putting a petition online myself... Does anyone know if a web-based petition is valid - legally I mean? Most petitions require a signature, and an age limit, and must only be signed once per person - there is no way to ensure these things with a web form...
Replied 18 Feb 2005 09:28:59
18 Feb 2005 09:28:59 Chris Charlton replied:
"Save the Hubble Telescope" was, maybe check their site for reference.
~ ~ ~ ~ ~ ~ ~
Chris Charlton <i>- DMXzone Manager</i>
<font size=1>[ Studio MX/MX2004 | PHP/ASP | SQL | XHTML/CSS | XML | Actionscript | Web Accessibility | MX Extensibility ]</font id=size1>
~ ~ ~ ~ ~ ~ ~
Chris Charlton <i>- DMXzone Manager</i>
<font size=1>[ Studio MX/MX2004 | PHP/ASP | SQL | XHTML/CSS | XML | Actionscript | Web Accessibility | MX Extensibility ]</font id=size1>