Probably really simple but... how do I set the required fields? I had done it within the html but that's not working.
Hi,
How did you do it with html, I cant get it, please post your code so I can look at, you mean you used js ?
Cheers
Max
How did you do it with html, I cant get it, please post your code so I can look at, you mean you used js ?
Cheers
Max
This is the peice of code that works fine on an html page on it' own.
<input type="hidden" name="required" value="name,email,message" />
<input type="hidden" name="required" value="name,email,message" />
Hi,
Iam really not sure whats the problem, what does the line above mean ?🙂
Cheers
Max
Iam really not sure whats the problem, what does the line above mean ?🙂
Cheers
Max
I made my form in dreamweaver and have uploaded it to my site as a separate html page for now because when I paste that code into the html feild of chrono forms, it all works - except the required fields. In chrono forms (within joomla) people can submit the form without filling in the required fields.
I want to be able to have my form within my joomla template using chrono forms, but the required fields needs to work. Is there anoher way it is done other than entering it in the html section?
I want to be able to have my form within my joomla template using chrono forms, but the required fields needs to work. Is there anoher way it is done other than entering it in the html section?
Of course, there must be some javascript code made by dreamweaver somewhere inside the code or in a separate file which must be referenced or included in Chronoforms JS box!!
Cheers
Max
Cheers
Max
This the entire page... I don't see js?
<!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>
<title>Airfares, Flights, Cruises, Tours, Holiday Packages, New Zealand Destinations - TravelCafe</title>
<meta name="Description" content="TravelCafe, Travel Agency, Airfares, Flights, Cruises, Air New Zealand, Qantas, Holiday Packages, New Zealand" />
<meta name="Keywords" content="Travelcafe, Flights, Holiday Packages, Cruises, Airfares, Travel Agency, Emirates, Air New Zealand, Qantas" />
<style type="text/css">
<!--
body,td,th {
font-family: Arial;
font-size: 12px;
}
.style1 {color: #FF3300}
.style2 {font-size: 12px}
-->
</style></head>
<body>
<p align="center"><a href="http://www.travelcafe.co.nz"><img src="http://www.travelcafe.co.nz/images/stories/logo.jpg" width="120" height="85" border="0" /></a></p>
<form method="post" action="http://www.travelcafe.co.nz/cgi-bin/FormMail">
<input type="hidden" name="email" value="quickreply@travelcafe.co.nz" />
<input type="hidden" name="realname" value="TravelCafe" />
<input type="hidden" name="recipient" value="quickreply@travelcafe.co.nz" />
<input type="hidden" name="subject" value="Contact Page" />
<input type="hidden" name="redirect" value="http://www.travelcafe.co.nz/forms/thanks.html" />
<input type="hidden" name="required" value="name,email,message" />
<table width="300" border="0" align="center" cellpadding="1" cellspacing="0">
<tr>
<td align="left" class="style4" scope="col"> </td>
<td align="left" scope="col"> </td>
</tr>
<tr>
<td width="161" align="right" valign="top" class="style4" scope="col"> </td>
<td width="252" align="left" class="style4 style2" scope="col">Email Us </td>
</tr>
<tr>
<td align="left" scope="col"> </td>
<td scope="col"> </td>
</tr>
<tr>
<td align="right" class="style8" scope="col"><span class="style10 style112 style1">*</span>Name:</td>
<td align="left" scope="col"><label>
<input name="name" type="text" size="30" />
</label></td>
</tr>
<tr>
<td align="right" class="style8"><span class="style10 style1 style112">*</span>Email:</td>
<td align="left"><label>
<input name="email2" type="text" size="30" />
</label></td>
</tr>
<tr>
<td align="right"><span class="style8">Phone:</span></td>
<td align="left"><input name="phone" type="text" size="30" /></td>
</tr>
<tr>
<td align="right"> </td>
<td align="left"> </td>
</tr>
<tr>
<td align="right" valign="top"><span class="style1 style97 style113">*</span>Message:</td>
<td align="left"><label>
<textarea name="message" cols="40" rows="10"></textarea>
</label></td>
</tr>
<tr>
<td> </td>
<td align="left"><label></label></td>
</tr>
<tr>
<td> </td>
<td align="left"><input name="Submit" type="submit" id="Submit" value="Send" /></td>
</tr>
<tr>
<td> </td>
<td align="left"> </td>
</tr>
</table>
</div>
</form>
</body>
</html>
<br><br>Post edited by: admin, at: 2007/09/27 14:23
Hi artistjewel,
I agree, but there must be some js somewhere or fields won't be validated on the client side, may be on the server side!!
Cheers
Max
I agree, but there must be some js somewhere or fields won't be validated on the client side, may be on the server side!!
Cheers
Max
This topic is locked and no more replies can be posted.