I have found a good way (more importantly and easy way of changing the field values, and that's using buttons!
below is a copy of my html
<?php
$document = &JFactory::getDocument();
$document->addScript( 'js/datepicker.js' );
?>
<?php
$doc =& JFactory::getDocument();
$doc->addStyleSheet( 'css/datepicker.css');
?>
<table width="100%" border="0" cellspacing="0" cellpadding="0">
<tr>
<td width="43%" valign="top">1. Choose number of people in your group</td>
<td width="57%" valign="top">2. Choose Arrival Date</td>
</tr>
<tr>
<td valign="top">
<table width="100%" valign="top" border="0" cellspacing="0" cellpadding="0">
<tr>
<td colspan="4">
selected:<input readonly="readonly" id="groupsize" class="required" name="groupsize" style="background:#F8F9FA; text-align:center; border:none" type="text" value="" size="1" title="Please Choose A Group Size By Clicking On The Relevant Icon Below" maxlength="1"></td>
</tr>
<tr>
<td><INPUT TYPE="button" class="cf_inputbox required" VALUE="1 Persons" onClick="this.form.groupsize.value= '1';this.form.total_price.value= '{gs1_total}';"> </td>
<td><INPUT TYPE="button" VALUE="2 Persons" onClick="this.form.groupsize.value= '2';this.form.total_price.value= '{gs2_total}';">
</td>
<td><INPUT TYPE="button" VALUE="3 Persons" onClick="this.form.groupsize.value= '3';this.form.total_price.value= '{gs3_total}';">
</td>
<td><INPUT TYPE="button" VALUE="4 Persons" onClick="this.form.groupsize.value= '4';this.form.total_price.value= '{gs4_total}';">
</td>
</tr>
<tr>
<td><INPUT TYPE="button" VALUE="5 Persons" onClick="this.form.groupsize.value= '5';this.form.total_price.value= '{gs5_total}';">
</td>
<td><INPUT TYPE="button" VALUE="6 Persons" onClick="this.form.groupsize.value= '6';this.form.total_price.value= '{gs6_total}';">
</td>
<td><INPUT TYPE="button" VALUE="7 Persons" onClick="this.form.groupsize.value= '7';this.form.total_price.value= '{gs7_total}';">
</td>
<td><INPUT TYPE="button" VALUE="8 Persons" onClick="this.form.groupsize.value= '8';this.form.total_price.value= '{gs8_total}';">
</td>
</tr>
</table>
</td>
<td><div style="padding-left: 30px;">
(selected: <input type="text" readonly="readonly" class="w16em required" title="Please Choose An Arrival Date Below" name="arrival_date" id="{package_type}" value="" rel="{package_type}" style="background:#F8F9FA; text-align:center; border:none" size="10" maxlength="10" />)</div></td>
</tr>
</table>
<input name="total_price" type="hidden" value=""></dt>
<script type="text/javascript">
// default - Use the date format "d-sl-m-sl-Y" i.e. 03/12/2009
datePickerController.createDatePicker({
formElements:{"default":"d-sl-m-sl-Y"}
});
</script>
<script type="text/javascript">
// midweek Use for mid week offers
var opts = {
formElements:{"midweek":"d-ds-m-ds-Y"},
staticPos:true,
disabledDays:[0,0,0,0,1,1,0],
rangeLow:"{s_year}{s_month}{s_day}",
rangeHigh:"{f_year}{f_month}{f_day}",
};
datePickerController.createDatePicker(opts);
</script>
<script type="text/javascript">
// weekend Use for weekend offers
var opts = {
formElements:{"weekend":"d-ds-m-ds-Y"},
staticPos:true,
disabledDays:[1,1,1,1,0,0,1],
rangeLow:"{s_year}{s_month}{s_day}",
rangeHigh:"{f_year}{f_month}{f_day}",
};
datePickerController.createDatePicker(opts);
</script>
<script type="text/javascript">
// Saturday To Saturday - Use For High Season Packages
var opts = {
formElements:{"sat2sat":"d-ds-m-ds-Y"},
staticPos:true,
disabledDays:[1,1,1,1,1,0,1],
rangeLow:"{s_year}{s_month}{s_day}",
rangeHigh:"{f_year}{f_month}{f_day}",
};
datePickerController.createDatePicker(opts);
</script>
<br>
<input value="{uid}" id="hidden_5" name="uid" type="hidden" />
<div class="form_item">
<div class="form_element cf_button">
<input value="Continue" name="button_2" type="submit" />
<input type="reset" value="Reset">
</div>
<div class="cfclear"> </div>
</div>
I will make it look a little nicer by adding icons instead of using buttons and although I have the fields set as read only and hidden I might validate it on the server side, to be sure to be sure!
anyway I am delighted!
Also for those interested i came across a fantastic date picker
http://www.frequency-decoder.com/2009/09/09/unobtrusive-date-picker-widget-v5/which allows you to enable and disable dates, days, etc.
Set high and low date ranges.
and highlight days of the week, set start day of week.
well worth a look
@greyhead - Seen your book - looks very good I will defo be treating myself to a read when I get paid from this job - that's my dangling carrot to get this finished