Contact Us Forum Rules Search Archive
WebProWorld Part of WebProNews.com
Page One Link To Us Edit Profile Private Messages Archives FAQ RSS Feeds  
 

Go Back   WebProWorld > Site Design > Graphics & Design Discussion Forum
Subscribe to the Newsletter FREE!


Register FAQ Members List Calendar Arcade Chatbox Mark Forums Read

Graphics & Design Discussion Forum Post your graphics design questions/comments/ideas in here. Ask questions, post tutorials, discuss trends and best practices. Sub-forum for website accessibility and usability.

Reply
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 06-16-2006, 09:25 AM
WebProWorld Member
 

Join Date: Jan 2006
Location: Ireland
Posts: 52
jasonweb RepRank 0
Default Trouble with Forms

I have designed plenty of forms before but this is the first time I have tried to get one to work on a website. I知 not sure how to design the asp page to handle any feedback I get from my clients.

I have uploaded this a simple test form designed using this page.

http://www.4guysfromrolla.com/webtech/120199-1.shtml

I was then thinking of altering this form using my own fields. I used it exactly as it痴 coded but it doesn't seem to work. Here is my attempt at it uploaded temporarily to my own site;

http://www.skystringdesign.com/4guysform.html

I don't think it should be reading <%=Session( in the boxes.

Here is my other attempt at how I see the full version of the form looking.

http://www.skystringdesign.com/enquiries.html

If you could tell me where I知 going wrong.

Any help is much appreciated.

J
Reply With Quote
  #2 (permalink)  
Old 06-16-2006, 06:25 PM
WebProWorld Member
 

Join Date: May 2005
Location: Wisco
Posts: 45
pablowerk RepRank 0
Default

jasonweb,

Does your host support .asp ? If you notice you have asp code, but the extension is .html. If you view source on your page you will notice that you can read all the asp code which shouldn't happen.

Try changing the filename from 4guysform.html to 4guysform.asp and if your host supports asp you should be in good shape.
Reply With Quote
  #3 (permalink)  
Old 06-16-2006, 06:29 PM
WebProWorld New Member
 

Join Date: Mar 2005
Posts: 3
rbriem RepRank 0
Default No ASP on Bravenet

Hi Jason,

Looks like you're on Bravenet, and they say in the FAQ that they don't support ASP ...
Reply With Quote
  #4 (permalink)  
Old 06-17-2006, 12:51 AM
WebProWorld Member
 

Join Date: Jun 2003
Location: USA
Posts: 33
b2phat RepRank 0
Default Re: Trouble with Forms

Quote:
Originally Posted by jasonweb
I have designed plenty of forms before but this is the first time I have tried to get one to work on a website. I知 not sure how to design the asp page to handle any feedback I get from my clients.

I have uploaded this a simple test form designed using this page.

http://www.4guysfromrolla.com/webtech/120199-1.shtml

I was then thinking of altering this form using my own fields. I used it exactly as it痴 coded but it doesn't seem to work. Here is my attempt at it uploaded temporarily to my own site;

http://www.skystringdesign.com/4guysform.html

I don't think it should be reading <%=Session( in the boxes.

Here is my other attempt at how I see the full version of the form looking.

http://www.skystringdesign.com/enquiries.html

If you could tell me where I知 going wrong.

Any help is much appreciated.

J
Hi Jasonweb,

I've long used MasterFeedback as an interactive tool on my site. It does a great job of protecting your data (email) and is totally customizable. When I first started using it, I was totally "green" . so I can attest to the "newbie friendliness" of the script.

It's a .cgi script ... but you could use it on any page extension you like.

It's a free download.

You can check it out here:

http://willmaster.com/master/feedback/

Hope that helps.

Take care.
__________________
Darla
NewbieHangout.com
Reply With Quote
  #5 (permalink)  
Old 06-17-2006, 06:59 AM
WebProWorld Member
 

Join Date: Jul 2003
Location: Philadelphia
Posts: 71
dean RepRank 1
Default

According to the response headers, your server does support asp, so the form should work.
I don't know anything about asp, but I can see two major things right away. First, as pablowerk has already posted, the page should have a .asp extension, since it contains the asp code. Secondly, I didn't see a closing tag for <form>.
Reply With Quote
  #6 (permalink)  
Old 06-17-2006, 08:20 AM
WebProWorld New Member
 

Join Date: Nov 2004
Location: San Diego
Posts: 7
dmedia RepRank 0
Default

I'm by no means an expert in ASP .. more of a PHP guy who will do ASP when forced to ! .. But it looks like you may also have some issues with nested " in your form fields ..
Reply With Quote
  #7 (permalink)  
Old 06-19-2006, 09:53 AM
WebProWorld Member
 

Join Date: Jan 2006
Location: Ireland
Posts: 52
jasonweb RepRank 0
Default Still a few problems

I am hosting with 7 host and they do support asp but oddly the asp files have to go in the cgi-bin folder at least thats what they told me.

I have changed the extensions as was advised and the script that was appearing in the boxes has now gone, so thanks for that.

Now when I submit the form it leads me to the test.asp page and it says;

"There is a problem with the page you are trying to reach and it cannot be displayed."

I read through the test.asp script and wondered if I needed to create the thanks.asp page or if this would automatically be created?

If you great people here can help me work through these problems I'm sure we can get to the next round of problems. I have left the pages is the same places the extension has just changed.

http://www.skystringdesign.com/4guysform.asp
Reply With Quote
  #8 (permalink)  
Old 06-19-2006, 04:32 PM
davidredwine's Avatar
WebProWorld Member
 

Join Date: Jun 2004
Location: Oklahoma
Posts: 56
davidredwine RepRank 0
Default Still a few problems

Yes, you must create the thanks.asp page.
__________________
IT Manager - JMI
www.jamesonmanagement.com
Reply With Quote
  #9 (permalink)  
Old 06-19-2006, 07:35 PM
WebProWorld Member
 

Join Date: Jul 2003
Location: Philadelphia
Posts: 71
dean RepRank 1
Default

Quote:
I read through the test.asp script and wondered if I needed to create the thanks.asp page or if this would automatically be created?
It would be hard to say for sure without seeing the script.
If you do need to create the thanks.asp page, watch your addressing. The script is in your cgi-bin and you'll probably want your thanks page in the directory where your form resides.
It might also be that you need a hidden input in your form that specifies the thanks page.
Reply With Quote
  #10 (permalink)  
Old 06-19-2006, 08:07 PM
WebProWorld Member
 

Join Date: Jan 2006
Location: Ireland
Posts: 52
jasonweb RepRank 0
Default Scripting is here

Thanks, the scriting is available to view here

http://www.4guysfromrolla.com/webtech/120199-1.shtml
Reply With Quote
  #11 (permalink)  
Old 06-20-2006, 09:33 AM
WebProWorld Member
 

Join Date: Jul 2003
Location: Philadelphia
Posts: 71
dean RepRank 1
Default

Yes, you'll need to create the thanks.asp page. But wait, there's more.
First, let me reiterate that I do not know asp, nor am I familiar with Windows servers. Given that, this is what I think.
I think that whoever told you that the asp script has to be in a cgi-bin directory was incorrect. Because:
1. It's not supposed to be that way.
2. The file, form.asp, doesn't seem to be in the cgi-bin directory, yet it is an asp file containing asp code and is (sort of) working. At least, you're not showing your asp, (and thanks for that).

Moving the test.asp script into the cgi-bin directory has created some addressing and redirecting problems. If I'm right about not needing to be in the cgi-bin directory, then it's going to be a lot easier.
Try this:
Move test.asp back into your main directory and change the form action accordingly. Create a thanks.asp page in the same directory. When you test it, try submitting the form with blank fields to ensure that you get the appropriate error messages from the script.
Let us know how it goes.
Reply With Quote
  #12 (permalink)  
Old 06-20-2006, 03:12 PM
Webnauts's Avatar
WebProWorld 1,000+ Club
 

Join Date: Aug 2003
Location: Worldwide
Posts: 7,384
Webnauts RepRank 3Webnauts RepRank 3
Default

If you are concerned in buidling accessible forms, download this FREE tool: http://www.hisoftware.com/access/valueadd9.html
Reply With Quote
Reply

  WebProWorld > Site Design > Graphics & Design Discussion Forum
Tags: ,



Thread Tools
Display Modes

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

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


Search Engine Optimization by vBSEO 3.2.0