Boat Drinks  

Go Back   Boat Drinks > General > Computer and Consoles

Reply
 
Thread Tools Display Modes
Old 29-11-2007, 11:46   #1
Admiral Huddy
HOMO-Sapien
 
Admiral Huddy's Avatar
 
Join Date: Jun 2006
Location: Chelmsford
Posts: 6,692
Default Website forms

I'm a complete noob when it comes to website building so I need some help with forms.

I've created a test page here.. (ignore the heading)

http://www.admiralcomputers.co.uk/test.shtml

Ok so basically I need to know how to consolidate the data and place into a database or and email, either is fine, when pressing the submit button.

Any advice would be appreciated.

Thanks
__________________

I just got lost in thought.. It was very unfamiliar territory.
Techie Talk | My gaming Blog | PC spec | The Admirals log
Admiral Huddy is offline   Reply With Quote
Old 29-11-2007, 12:32   #2
Davey_Pitch
I iz speshul
 
Davey_Pitch's Avatar
 
Join Date: Jun 2006
Location: Liverpool
Posts: 6,296
Default

The way it generally works is that the form interacts with a CGI or PHP script which is hosted on your site. The script will format the data in the form and email it to an address that you specify. There are tons of scripts on the web which will work easily (and freely), so all you'll need to know is whether your host supports PHP or CGI scripting.
__________________

Our deepest fear is not that we are inadequate. Our deepest fear is that we are powerful beyond measure. It is our light, not our darkness, that most frightens us. Your playing small does not serve the world. There is nothing enlightened about shrinking so that other people won't feel insecure around you. We are all meant to shine as children do. It's not just in some of us; it is in everyone. And as we let our own lights shine, we unconsciously give other people permission to do the same. As we are liberated from our own fear, our presence automatically liberates others.
Davey_Pitch is offline   Reply With Quote
Old 29-11-2007, 12:40   #3
Admiral Huddy
HOMO-Sapien
 
Admiral Huddy's Avatar
 
Join Date: Jun 2006
Location: Chelmsford
Posts: 6,692
Default

I know it supprts PHP scripting as I've some on their already
__________________

I just got lost in thought.. It was very unfamiliar territory.
Techie Talk | My gaming Blog | PC spec | The Admirals log
Admiral Huddy is offline   Reply With Quote
Old 29-11-2007, 12:45   #4
Desmo
The Last Airbender
 
Desmo's Avatar
 
Join Date: Jun 2006
Location: Pigmopad
Posts: 11,915
Default

The first form I came up with used this to make it all... http://phpformgen.sourceforge.net/

It was pretty good and gives you a step by step interface to create the form.
I now use something totally different but it won't help you as it uses at backend package to capture the data.
Desmo is offline   Reply With Quote
Old 29-11-2007, 12:48   #5
Admiral Huddy
HOMO-Sapien
 
Admiral Huddy's Avatar
 
Join Date: Jun 2006
Location: Chelmsford
Posts: 6,692
Default

What sort of backend package? For retail?
__________________

I just got lost in thought.. It was very unfamiliar territory.
Techie Talk | My gaming Blog | PC spec | The Admirals log
Admiral Huddy is offline   Reply With Quote
Old 29-11-2007, 13:03   #6
Desmo
The Last Airbender
 
Desmo's Avatar
 
Join Date: Jun 2006
Location: Pigmopad
Posts: 11,915
Default

Nope. It's a customer relationship manager (CRM) called SugarCRM.
Desmo is offline   Reply With Quote
Old 29-11-2007, 14:09   #7
Admiral Huddy
HOMO-Sapien
 
Admiral Huddy's Avatar
 
Join Date: Jun 2006
Location: Chelmsford
Posts: 6,692
Default

Ok here's the generated form...

http://www.admiralcomputers.co.uk/form.html



No i've ported the code to on of my templates

http://www.admiralcomputers.co.uk/form2.shtml

something not quite right with the info message not folding.. Appears to looking for a class called InfoBox which I can't find... Must be there somewhere because the generated one works..
__________________

I just got lost in thought.. It was very unfamiliar territory.
Techie Talk | My gaming Blog | PC spec | The Admirals log
Admiral Huddy is offline   Reply With Quote
Old 29-11-2007, 15:00   #8
Joe 90
Absinthe
 
Joe 90's Avatar
 
Join Date: Jan 2007
Location: Chester
Posts: 2,345
Default

looks like you just need to add a class to your CSS called 'infobox' and style it however you want, then you'll be sorted well after also restyling the email boxes anyway

*
obviously the easiest way is to take the same css as the generated page -
Code:
a.info:hover .infobox {
	font-weight: normal; 
	display:block; 
	position:absolute; 
	top:20px;;
	left:25px;
	width:205px; 
	height:70px; 
	border: 1px solid #ccc; 
	background:#f4f4f4 url(question.gif) no-repeat bottom right; 
	color:#000; 
	text-align:left; 
	font-size:0.7em; 
	padding-left:10px; 
	padding-top:10px;
}
__________________
360 Blog | Join GiffGaff | Twitter

Last edited by Joe 90; 29-11-2007 at 15:03.
Joe 90 is offline   Reply With Quote
Old 29-11-2007, 15:30   #9
Admiral Huddy
HOMO-Sapien
 
Admiral Huddy's Avatar
 
Join Date: Jun 2006
Location: Chelmsford
Posts: 6,692
Default

blimmy.. I'm glad i'm on your side..

Ok I'll take that on but how come the generated one works as they are both in the same domain directory..
__________________

I just got lost in thought.. It was very unfamiliar territory.
Techie Talk | My gaming Blog | PC spec | The Admirals log
Admiral Huddy is offline   Reply With Quote
Old 29-11-2007, 15:55   #10
Admiral Huddy
HOMO-Sapien
 
Admiral Huddy's Avatar
 
Join Date: Jun 2006
Location: Chelmsford
Posts: 6,692
Default

sorted.. I was missing the rel="Stylesheet" in the header???

I've amended the style.css file as you indicated.. looks a little better..
__________________

I just got lost in thought.. It was very unfamiliar territory.
Techie Talk | My gaming Blog | PC spec | The Admirals log

Last edited by Admiral Huddy; 29-11-2007 at 16:27.
Admiral Huddy is offline   Reply With Quote
Reply


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
Forum Jump


All times are GMT +1. The time now is 20:49.


Powered by vBulletin® Version 3.7.4
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.