Forums

FORMCODE , when SELECTED No, next SELECTBOX not mandatory

SPABO 20 Jun, 2010
Hope you can help

If in a selectbox "NO" is choosen, the following selectbox should NOT be mandatory(required)

Here are the fields Im referring to:

<div class="form_item">
<div class="form_element cf_dropdown">
<label class="cf_label" style="width: 150px;">Gebruik Diner</label>
<select class="cf_inputbox validate-selection" id="select_1" size="1" title="U bent vergeten of u het diner wenst te bruiken!"  name="Diner">
<option value="">Diner</option>
<option value="Ja">Ja</option>
<option value="Nee">Nee</option>
    </select>
    <a class="tooltiplink" onclick="return false;"><img height="16" border="0" width="16" class="tooltipimg" alt="" src="components/com_chronocontact/css/images/tooltip.png"/></a>
<div class="tooltipdiv">Diner :: Vul hier in of u gebruik wilt maken van het diner</div>
</div>
<div class="cfclear"> </div>

<div class="form_item">
  <div class="form_element cf_dropdown">
    <label class="cf_label" style="width: 150px;">Aantal diner</label>
    <select class="cf_inputbox validate-selection" id="select_1" size="1" title="U bent vergeten met hoeveel personen u van het diner gebruik willen maken!"  name="Pers_Diner">
<option value="">Aantal</option>
<option value="1">1</option>
<option value="2">2</option>
<option value="3">3</option>
<option value="4">4</option>
    </select>
    <a class="tooltiplink" onclick="return false;"><img height="16" border="0" width="16" class="tooltipimg" alt="" src="components/com_chronocontact/css/images/tooltip.png"/></a>
		<div class="tooltipdiv">Pers_Diner :: Vul hier het aantal personen in die gebruik willen maken van het diner</div>
  </div>
  <div class="cfclear"> </div>
SPABO 22 Jun, 2010
THIS TOPIC CAN BE CONSIDERED AS CLOSED
(As the question was not what I wnated..., seen new topic)
Apologies....😶
This topic is locked and no more replies can be posted.