Hi,
I have read every post on this forum regarding calendar popup button and how to include it in form but I am not able to make it work.
I would appreciate if someone could take a look on provided form code and suggest me how to fix it so I can use Joomla (or any other) calendar JavaScript?
Here is my form code:
I am using Joomla 1.0.15 and Chronoforms 2.3.8.
Thank you in advance!<br><br>Post edited by: mihha, at: 2008/04/01 01:58
I have read every post on this forum regarding calendar popup button and how to include it in form but I am not able to make it work.
I would appreciate if someone could take a look on provided form code and suggest me how to fix it so I can use Joomla (or any other) calendar JavaScript?
Here is my form code:
<div>
<span>
<fieldset>
<legend>Appointment Time and date</legend>
<div>
<span><label for="sellst_time_id0">Appointment Times</label></span>
<span><select id="sellst_time_id0" name="time" size="8" tabindex="0">
<option>10.00 to 11.30</option>
<option>11.30 to 13.00</option>
<option>13.00 to 14.30</option>
<option>14.30 to 16.00</option>
<option>16.00 to 17.30</option>
<option>17.30 to 19.00</option>
<option>19.00 to 20.30</option>
<option>20.30 to 21.30</option>
</select></span>
</div><br>
<div>
<?php
mosCommonHTML::loadCalendar();
?>
<input class="inputbox" type="text" id="start_date" name="start_date" value="<?php echo $row->
start_date; ?>" size="11" maxlength="11" />
<input type="reset" class="button" value="..." onclick="return showCalendar('start_date'
, 'mm-dd-y');" />
</div><br>
<div>
<span><label for="sellst_location_id0">Location options</label></span>
<span><select id="sellst_location_id0" name="location" size="1" tabindex="1">
<option>Harley Street</option>
<option>Streatham</option>
<option>Home Visit</option>
</select></span>
</div>
</fieldset>
</span>
</div>
<div>
<span>
<fieldset>
<legend>Your details</legend>
<div>
<span><label for="sellst_title_id0">Title</label></span>
<span><select id="sellst_title_id0" name="title" size="1" tabindex="2">
<option>Mr</option>
<option>Ms</option>
<option>Miss</option>
<option>Mrs</option>
<option>Dr</option>
<option>Other</option>
</select></span>
</div>
<div>
<span><label for="txtInp_name_id0">First name</label></span>
<span><input type="text" id="txtInp_name_id0" name="name" size="30" tabindex="3"></span>
</div>
<div>
<span><label for="txtInp_surname_id0">Surname</label></span>
<span><input type="text" id="txtInp_surname_id0" name="surname" size="30" tabindex="4"></span>
</div>
<div>
<span><label for="txtInp_lname_id0">Last name</label></span>
<span><input type="text" id="txtInp_lname_id0" name="lname" size="30" tabindex="5"></span>
</div>
<div>
<span><label for="txtInp_age_id0">Age</label></span>
<span><input type="text" id="txtInp_age_id0" name="age" size="2" tabindex="6"></span>
</div>
<div>
<span><label for="txtInp_therapy_id0">Desired Therapy</label></span>
<span><input type="text" id="txtInp_therapy_id0" name="therapy" size="30" tabindex="7"></span>
</div>
<div>
<span><label for="txtInp_email_id0">Email Address</label></span>
<span><input type="text" id="txtInp_email_id0" name="email" size="30" tabindex="8"></span>
</div>
<div>
<span><label for="txtInp_phone_id0">Telephone</label></span>
<span><input type="text" id="txtInp_phone_id0" name="phone" size="30" tabindex="9"></span>
</div>
</fieldset>
</span>
</div>
I am using Joomla 1.0.15 and Chronoforms 2.3.8.
Thank you in advance!<br><br>Post edited by: mihha, at: 2008/04/01 01:58