Forums

Can't get my Submit Button to work...?

kevin_d_clay 03 Jul, 2008
I am new to Chronoforms and HTML form development, so please excuse my ignorance ... but, I cannot get my "Submit" button to work? Here is my HTML code copied from Microsoft Expression Web (any help would be appreciated):

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">

<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>Are you Interested in the Jaycee</title>
<style type="text/css">
.style1 {
font-family: Arial, Helvetica, sans-serif;
}
.style4 {
font-size: x-large;
color: #000080;
}
.style8 {
border-width: 0;
}
.style10 {
background-color: #99FFCC;
}
</style>
</head>

<body>
<span class="style1"><span class="style4">Are you Interested in the Jaycees? ...</span><br />
<br />
If you are interested in the Fort Smith Jaycees, please fill out the form below
and we will get back to you as soon as possible! </span><br />
<br />
<br />
<table style="width: 100%" class="style8">
<tr>
<td style="width: 104px; height: 26px;" class="style1">First Name:</td>
<td class="style1" style="height: 26px">
<input name="first_name" type="text" style="width: 215px" class="style10" /></td>
</tr>
<tr>
<td style="width: 104px" class="style1">Last Name:</td>
<td class="style1">
<input name="last_name" type="text" style="width: 215px" class="style10" /></td>
</tr>
<tr>
<td style="width: 104px" class="style1">Contact #:</td>
<td class="style1">
<input name="contact_number" type="text" style="width: 215px" class="style10" /></td>
</tr>
<tr>
<td style="width: 104px" class="style1">Email:</td>
<td class="style1">
<input name="email" type="text" style="width: 215px" class="style10" /></td>
</tr>
<tr>
<td style="width: 104px; height: 10px;" valign="top" class="style1">Comments:</td>
<td class="style1" style="height: 10px">
<form method="post">
<textarea name="comments" style="width: 215px; height: 95px"></textarea></form>
</td>
</tr>
<tr>
<td style="width: 104px; height: 10px;" valign="top" class="style1">
GreyHead 03 Jul, 2008
Hi kevin_d_day,

Please remove the page headers, the html, head, body and form tags. Either Joomla or ChronoForms will create these.

Bob
kevin_d_clay 03 Jul, 2008
Again, I am new to this ... do you mean to take out any reference to <head>, <body>, and form tags (i am not sure what form tags are).

If i take the references to <head>, won't that screw up the definitions of the different "Styles"?

Regards'
Kevin...
kevin_d_clay 03 Jul, 2008
This is my new code without the what i think are the references (but the "Submit" button still does not work):unsure: :

<style type="text/css">
.style1 {
font-family: Arial, Helvetica, sans-serif;
}
.style4 {
font-size: x-large;
color: #000080;
}
.style8 {
border-width: 0;
}
.style10 {
background-color: #99FFCC;
}
</style>

<span class="style1"><span class="style4">Are you Interested in the Jaycees? ...</span><br />
<br />
If you are interested in the Fort Smith Jaycees, please fill out the form below
and we will get back to you as soon as possible! </span><br />
<br />
<br />
<table style="width: 100%" class="style8">
<tr>
<td style="width: 104px; height: 26px;" class="style1">First Name:</td>
<td class="style1" style="height: 26px">
<input name="first_name" type="text" style="width: 215px" class="style10" /></td>
</tr>
<tr>
<td style="width: 104px" class="style1">Last Name:</td>
<td class="style1">
<input name="last_name" type="text" style="width: 215px" class="style10" /></td>
</tr>
<tr>
<td style="width: 104px" class="style1">Contact #:</td>
<td class="style1">
<input name="contact_number" type="text" style="width: 215px" class="style10" /></td>
</tr>
<tr>
<td style="width: 104px" class="style1">Email:</td>
<td class="style1">
<input name="email" type="text" style="width: 215px" class="style10" /></td>
</tr>
<tr>
<td style="width: 104px; height: 10px;" valign="top" class="style1">Comments:</td>
<td class="style1" style="height: 10px">
<form method="post">
<textarea name="comments" style="width: 215px; height: 95px"></textarea></form>
</td>
</tr>
<tr>
<td style="width: 104px; height: 10px;" valign="top" class="style1">
GreyHead 04 Jul, 2008
Hi kevin,

You still have 'form' tags in there
<form method="post">
<textarea name="comments" style="width: 215px; height: 95px"></textarea></form>
Bob
This topic is locked and no more replies can be posted.