- Posts: 7
- Thank you received: 0
<div>
<label>Number of tickets</label>
<select type="list" name="people"></select><option value="1">1</option>
<option value="2">2</option>
<option value="3">3</option>
<option value="4">4</option>
<option value="5">5</option>
<span class="formInfo">
<a class="ictip"><img src="http://www.xxxxxxxx.com/components/com_icagenda/themes/packs/default/images/info.png"><span>
<span class="title">Number of tickets</span>
<div class="text">Number of persons attending including you</div>
</span>
</a>
</span>
</div>
<label>Number of tickets</label>
<select type="list" name="people"><option value="1">1</option>
<option value="2">2</option>
<option value="3">3</option>
<option value="4">4</option>
<option value="5">5</option>
</select>
Please Log in or Create an account to join the conversation.
Please Log in or Create an account to join the conversation.
Please Log in or Create an account to join the conversation.
<select type="list" name="people"/>
<label><?php echo JText::_( 'ICAGENDA_REGISTRATION_FORM_PEOPLE' ); ?></label>
<select type="list" name="people">
<?php
$maxRlist = $item->maxRlist;
$maxReg = $item->maxReg;
$registered = $item->registered;
$placeRemain = ($maxReg - $registered);
if ($placeRemain < $maxRlist) {
$maxRlist = $placeRemain;
}
for ($i=1; $i <= $maxRlist; $i++) {
echo '<option value="'.$i.'">'.$i.'</option>';
}
?>
</select>
Please Log in or Create an account to join the conversation.
Please Log in or Create an account to join the conversation.
lightningbit wrote: that seem to have fixed it
btw, it was the file public_html/components/com_icagenda/views/list/tmpl/registration.php
(I had to look in the directory tmpl)
Please Log in or Create an account to join the conversation.