Go Back   CodingForums.com > :: Client side development > General web building

Before you post, read our: Rules & Posting Guidelines

Reply
 
Thread Tools Rate Thread
Enjoy an ad free experience by logging in. Not a member yet? Register.
Old 04-16-2008, 08:25 AM   PM User | #1
roly_33
New Coder

 
Join Date: Apr 2008
Posts: 18
Thanks: 3
Thanked 0 Times in 0 Posts
roly_33 is an unknown quantity at this point
Post Form building help

Hello,

I am trying to build an online booking form for a campsite site that I am working on - but am really struggling to find a simplish guide on how to do this. I just want some help on a basic form that checks all the fields have been filled out before sending the information to a csv file - no need for any credit card security just a simple form.

Can anybody help a newbie out please.
roly_33 is offline   Reply With Quote
Old 04-16-2008, 10:15 AM   PM User | #2
FWDrew
Regular Coder

 
FWDrew's Avatar
 
Join Date: Apr 2008
Location: Missouri
Posts: 380
Thanks: 38
Thanked 45 Times in 43 Posts
FWDrew is on a distinguished road
Quote:
Originally Posted by roly_33 View Post
Hello,

I am trying to build an online booking form for a campsite site that I am working on - but am really struggling to find a simplish guide on how to do this. I just want some help on a basic form that checks all the fields have been filled out before sending the information to a csv file - no need for any credit card security just a simple form.

Can anybody help a newbie out please.
Hi roly,

I have already replied to your other post, I'm sure theres no need to post a thread twice.

Regards,

Drew
FWDrew is offline   Reply With Quote
Old 04-16-2008, 10:52 AM   PM User | #3
roly_33
New Coder

 
Join Date: Apr 2008
Posts: 18
Thanks: 3
Thanked 0 Times in 0 Posts
roly_33 is an unknown quantity at this point
I was just making sure that my post got maximum exposure...and its in different sections...
roly_33 is offline   Reply With Quote
Old 04-16-2008, 03:47 PM   PM User | #4
gnomeontherun
Senior Coder

 
gnomeontherun's Avatar
 
Join Date: Sep 2007
Location: Houston
Posts: 2,846
Thanks: 10
Thanked 238 Times in 229 Posts
gnomeontherun will become famous soon enoughgnomeontherun will become famous soon enough
It doesn't matter, most people here check a lot of the sections. If you place the thread in the appropriate section you are doing the best you can.
__________________
jeremy - gnomeontherun
Educated questions often get educated answers, and simple questions often get simple answers.
gnomeontherun is offline   Reply With Quote
Old 04-16-2008, 03:57 PM   PM User | #5
abduraooft
Supreme Master coder!

 
abduraooft's Avatar
 
Join Date: Mar 2007
Location: N/A
Posts: 14,678
Thanks: 158
Thanked 2,182 Times in 2,169 Posts
abduraooft is just really niceabduraooft is just really niceabduraooft is just really niceabduraooft is just really niceabduraooft is just really nice
Quote:
Originally Posted by roly_33 View Post
I was just making sure that my post got maximum exposure...and its in different sections...
I request you to read the forum rules and guidelines, before posting here!

http://www.codingforums.com/postguide.htm
http://www.codingforums.com/rules.htm
__________________
Quote:
The Dream is not what you see in sleep; Dream is the thing which doesn't let you sleep. --(Dr. APJ. Abdul Kalam)
abduraooft is offline   Reply With Quote
Old 04-16-2008, 07:45 PM   PM User | #6
FWDrew
Regular Coder

 
FWDrew's Avatar
 
Join Date: Apr 2008
Location: Missouri
Posts: 380
Thanks: 38
Thanked 45 Times in 43 Posts
FWDrew is on a distinguished road
Hi Roly,

I read your other post in the other topic but didn't have time to reply before it was closed.

Anyway, I'd be willing to try and help, just let me know when you get more progress made

Drew
FWDrew is offline   Reply With Quote
Old 04-17-2008, 08:24 AM   PM User | #7
kiwibrit
New Coder

 
Join Date: Jun 2005
Posts: 40
Thanks: 0
Thanked 2 Times in 2 Posts
kiwibrit is an unknown quantity at this point
Briefly:

Use javascript to verify that all required entries are there - that lets the client know immediately if there is a problem. Repeat this verification server side (since not all clients may have javascript enabled) where I suggest you also check for injection attacks.

Also server side to meet your requirements, I would update a flat file in csv format.

Hope that is sufficient for you to search around and get going - and come back if you have specific problems.
kiwibrit is offline   Reply With Quote
Old 04-23-2008, 10:47 AM   PM User | #8
roly_33
New Coder

 
Join Date: Apr 2008
Posts: 18
Thanks: 3
Thanked 0 Times in 0 Posts
roly_33 is an unknown quantity at this point
Righto

I have now got details of the server that the website will be hosted on - and I really need help with the production of a perl script that validates my form on the server - I can handle the javascript on the page - I think! but my experience with perl is very limited - Drew can you help tried to private message you but you don't allow 'em...

I have the fields I want to validate -
roly_33 is offline   Reply With Quote
Old 04-28-2008, 01:16 AM   PM User | #9
FWDrew
Regular Coder

 
FWDrew's Avatar
 
Join Date: Apr 2008
Location: Missouri
Posts: 380
Thanks: 38
Thanked 45 Times in 43 Posts
FWDrew is on a distinguished road
Quote:
Originally Posted by roly_33 View Post
I have now got details of the server that the website will be hosted on - and I really need help with the production of a perl script that validates my form on the server - I can handle the javascript on the page - I think! but my experience with perl is very limited - Drew can you help tried to private message you but you don't allow 'em...

I have the fields I want to validate -
Hi Roly,

My apologies, I missed this thread earlier, and have been very sick recently.

Also, I received your pm, but way after you sent it.....strange.

I cant promise I can be of great help, but if you post some or all of your code, we will see what we can do with the server side validation.
FWDrew is offline   Reply With Quote
Old 04-30-2008, 10:55 AM   PM User | #10
roly_33
New Coder

 
Join Date: Apr 2008
Posts: 18
Thanks: 3
Thanked 0 Times in 0 Posts
roly_33 is an unknown quantity at this point
Hi Drew

Hope you are feelin' better now -

Righto I have put the form that I need to output to a csv file on to web - I have done the javascript validation (as best as I know how!) - so I need some help with the scripting on the server that check all the mandatory fields have been filled out and then displays a submission page (thanks.html yet to be built) and sends the data to a csv file which can be downloaded by the campsite owners..

Is that fairly straightforward? Any help gratefully recieved....

link:- http://www.freewebs.com/rtbh/woodyhyde/booking.html
roly_33 is offline   Reply With Quote
Old 05-01-2008, 07:48 AM   PM User | #11
FWDrew
Regular Coder

 
FWDrew's Avatar
 
Join Date: Apr 2008
Location: Missouri
Posts: 380
Thanks: 38
Thanked 45 Times in 43 Posts
FWDrew is on a distinguished road
Quote:
Originally Posted by roly_33 View Post
Hi Drew

Hope you are feelin' better now -

Righto I have put the form that I need to output to a csv file on to web - I have done the javascript validation (as best as I know how!) - so I need some help with the scripting on the server that check all the mandatory fields have been filled out and then displays a submission page (thanks.html yet to be built) and sends the data to a csv file which can be downloaded by the campsite owners..

Is that fairly straightforward? Any help gratefully recieved....

link:- http://www.freewebs.com/rtbh/woodyhyde/booking.html
Hi Roly,

First off, it will help to know exactly what fields need to be validated and how so. I.e A phone number needs to have at least 7 digits...

Second, what are you using to send the form? PHP I am assuming? Can you post the script you have that takes the info and sends it to the file? That is what we will want to use to sanitize and validate the form.

Again, my apologies for the late reply.

Regards,

Drew
FWDrew is offline   Reply With Quote
Old 05-01-2008, 09:23 AM   PM User | #12
roly_33
New Coder

 
Join Date: Apr 2008
Posts: 18
Thanks: 3
Thanked 0 Times in 0 Posts
roly_33 is an unknown quantity at this point
Hi Drew,

Thats the issue - I don't have any script - not to fussed to check that filed are filled out correctly in this instance just what to check that the fields have data in them...and pop the data into a csv file
roly_33 is offline   Reply With Quote
Reply

Bookmarks

Jump To Top of Thread


Thread Tools
Rate This Thread
Rate This Thread:

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 07:51 AM.


Advertisement
Log in to turn off these ads.