waijs
Junior Member
Posts: 2
Registered: 9/1/2009
Member Is Offline
|
| posted on 9/2/2009 at 06:27 AM |
|
|
How to use tha calendar twice on one form
Does anyone know how to use the tigra calendar more than one time in a single form(same form)? Please help asap/
|
|
|
DanielWilson
Junior Member
Posts: 6
Registered: 9/4/2009
Location: Indiana, USA
Member Is Offline
|
| posted on 9/9/2009 at 05:49 PM |
|
|
Be sure you have the correct control name for each instance ... I have seen it work with PHP writing multiple copies of the calendar in a form.
Following is a reduced version of HTML that's working w/ 2 calendars:
<form action="SaveNewUser.php" method="post" name="join_form" id="join_form" >
<input type="hidden" value="join" name="action" />
<ul class="heading_pane2_2_user ">
<li class="blue">Login ID</li>
<li style="width:140px">
<input type="text" class="input_field" style="width:140px" name="UserName" id="UserName" value="" maxlength="15"/>
</li>
<li class="blue">Date of Birth</li>
<li style="width:145px">
<input name="DoB" type="text" class="input_field" id="DoB" value="" readonly=""/><script language="JavaScript">
new tcal ({
'formname': 'join_form',
'controlname': 'DoB'
});
</script>
</li>
<li class="blue">Start Date</li>
<li style="width:150px">
<input name="StartDate" type="text" class="input_field" id="StartDate" value="" readonly=""/><script
language="JavaScript">
new tcal ({
'formname': 'join_form',
'controlname': 'StartDate'
});
</script>
</li>
</form>
|
|
|