Forum Moderators: mack

Message Too Old, No Replies

Handling Buttons on My Website

How to make buttons work on you website?

         

Abdallah

7:00 am on Jul 18, 2005 (gmt 0)

10+ Year Member



Good day every one,

I'm developing a website for a company, which is basically a very simple website just for browesing pdf files. I've put on the homepage a search area to search for a specific file on the site. The other issue is a feedback sections to submit a comments from the users about the site or everythings. This section has a form to be filled and then submit it by clicking the "Submit" button. But, unfortunatelly, I could not active these buttons. They are standing in fron of the page without doing anything. When I click the "Search" button it does nothing and the "submit" button does so!

I've got the following code for the action;
<FORM METHOD=POST ACTION="somelink">

I could not do anythig for these issues! Can any one tell my what to do?

I'm using Macromedia Dreamweaver MX 2004, and pages of ".asp" type.

Thanx

Abdallah ;)

maxi million

9:13 am on Jul 18, 2005 (gmt 0)

10+ Year Member



<form name="someform" id="someform" action="somelink.asp" method="post">
//other input fields here
<input type="submit" name="submit" value="submit" value="SUBMIT">
</form>
the form would do nothing if 1)the action is not specified and 2)the button does not have have input type="submit"

hope this helps

Abdallah

9:37 am on Jul 18, 2005 (gmt 0)

10+ Year Member



Thanx dear,

but where the submitted data would go?
In other word, in my case I'm doing a feedback form, and I want to recive an e-mail from the submitted comments. How would this implemented?

Thanks a lot.

Abdallah ;)

maxi million

10:05 am on Jul 18, 2005 (gmt 0)

10+ Year Member



the data would of course be going to the page mentioned in the form action part. inthis case somelink.asp
the data which is sent to that page would be processed there.
somelnk.asp needs to have the program which would process the form inputs based on your requirement. that would be an altogether different issue.

Abdallah

10:11 am on Jul 18, 2005 (gmt 0)

10+ Year Member



I tried it but it did NOT work with me! nothing come-up on the page...

Thanks a lot 'Maxi Million'

maxi million

10:23 am on Jul 18, 2005 (gmt 0)

10+ Year Member



whether it works or not depends on what you got in that page!
people could be more helpful if you could post the contents of THAT page

Abdallah

11:34 am on Jul 18, 2005 (gmt 0)

10+ Year Member



Below is the could I have:
___________________________________________________
<%@LANGUAGE="JAVASCRIPT" CODEPAGE="1252"%>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<title>Feedback</title>
<style type="text/css">
<!--
.style1 {
font-size: 36px;
color: #003300;
font-weight: bold;
font-style: italic;
}
body {
background-image: url(images/bg2.gif);
}
-->
</style></head>

<body>
<FORM METHOD=POST ACTION="feed.asp">
<h2 align="center" class="style1">Feedback</h2>
<em>
<!--Sent your comments to be considered -->
</em>
<table width="34%" height="172" border="0" align="center">
<tr valign="middle">
<td width="28%" height="29"><em>Name:</em></td>
<td width="72%"><input name="textfield" type="text" value="Your Name" size="93"></td>
</tr>
<tr valign="middle">
<td height="29"><em>Company:</em></td>
<td><input name="textfield" type="text" value="Your Company" size="93"></td>
</tr>
<tr valign="middle">
<td height="29"><em>E-mail: </em></td>
<td><input name="textfield" type="text" value="address@company.com" size="93"></td>
</tr>
<tr valign="middle">
<td height="81" valign="top"><em>Comments:</em></td>
<td><textarea name="textarea" cols="70" rows="15"></textarea></td>
</tr>
</table>
<blockquote>
<p align="center">
<input type="submit" name="Submit" value="Submit">
</p>
<blockquote>
<div align="center">
<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=5,0,0,0" width="33" height="33" align="middle">
<param name="movie" value="button1.swf">
<param name="quality" value="high">
<embed src="button1.swf" width="33" height="33" align="middle" quality="high" pluginspage="http://www.macromedia.com/shockwave/download/index.cgi?P1_Prod_Version=ShockwaveFlash" type="application/x-shockwave-flash" ></embed>
</object>
</div>
</blockquote>
</blockquote>
</body>
</html>
_____________________________________________________

I hope to get help as soon as possile...

maxi million

1:12 pm on Jul 18, 2005 (gmt 0)

10+ Year Member



<FORM METHOD=POST ACTION="feed.asp">

probably it ud b a better idea to follow convention and write this as
<FORM METHOD="POST" NAME="feedback_form" ACTION="feed.asp">

apart from this the page looks ok.

my point all so far has beeen the stuff thats happening on feed.asp. does it do anything at all? is it supposed to output any stuff? i dont know much about asp so ill not be very helpful, but i was wondering if the code there is OK?

neonKow

7:45 pm on Jul 18, 2005 (gmt 0)

10+ Year Member



What does feed.asp contain? That seems like that would be where the problem lies.

Abdallah

5:50 am on Jul 19, 2005 (gmt 0)

10+ Year Member



Thanks alot to you all.

I'll try my best to fix it.