data, explode(".", "RentData")), explode(".", "[n].pr_street"));$options = array_combine($keys, $values);$field = array ( 'name' => 'PropOfInterest', 'id' => 'dropdown27', 'options' => array ( ), 'empty' => '', 'values' => array ( ), 'label' => array ( 'text' => 'Property Of Interest', 'position' => 'top', ), 'sublabel' => '', 'multiple' => '0', 'size' => '', 'class' => ' validate[\'required\']', 'title' => '', 'style' => '', 'params' => '', ':data-load-state' => '', ':data-tooltip' => '', 'type' => 'dropdown', 'container_id' => '2',);$field["options"] = $options;echo \GCore\Helpers\Html::formLine($field["name"], $field);?>What Price Range are you Exploring? Moving date?How Many Bedrooms?Studio12345How Many Bathrooms?12345Is your Move-In Money Ready? NoYesFirst Months Rent & Security DepositHave you chosen a real estate agent to work with?NoYesWe can’t work with clients who already have an agent. Please call them, they will be happy to help you!11.Do you know how real estate agents get paid?NoYesActually we work for free until we sell or rent a home. This means we have to be careful how we use our time. Would you say you are motivated to make a decision this week?NoYesWhat date suits you?"> Parent Hidden issues - Forums

Forums

Parent Hidden issues

dujonn 26 Jun, 2014
I have an issue in that my page contains one multi column container and another column container.

I set it all up with the mulit colum on top and the single colum below. I created several 'peekabo' fields (fields that show on certain selections), these where all working perfectly.

I decided that the way the two types of containers graphically worked together I decided to change the contain types from columns. After playing around a bit I settled on pretty much reverting the types back to their original settings.

But my issue now is that one of my 'peekabo' radio button selections just wont work and I cannot see why.

The peekabo field in question is 'What breed is the pet?' (text40) and the radio button option selector is 'Do you have pets?' (radio39).

Can anyone see why when selecting the appropriate radio button is now brining up the text box?

<div class="chronoform-container" id="chronoform-container-1" style="overflow:auto;"><div class="chronoform-container" id="chronoform-container-3" style="float:left; width:51%"><div class="form-group gcore-form-row" id="form-row-2"><label for="txt1" class="control-label gcore-label-top">Full Name</label>
<div class="gcore-input-wide gcore-display-table" id="fin-txt1"><input name="FullName" id="txt1" value="" placeholder="" maxlength="" size="45" class="validate['required'] form-control A" title="" style="" data-inputmask="" data-load-state="" data-tooltip="" type="text" /></div></div><div class="form-group gcore-form-row" id="form-row-4"><label for="text19" class="control-label gcore-label-top">How many people are in your family/looking to move in? </label>
<div class="gcore-input-wide gcore-display-table" id="fin-text19"><input name="FamilySize?" id="text19" value="" placeholder="" maxlength="" size="45" class="validate['required','number'] form-control A" title="" style="" data-inputmask="" data-load-state="" data-tooltip="" type="text" /></div></div><div class="form-group gcore-form-row" id="form-row-6"><label for="text20" class="control-label gcore-label-top">How much is your Gross Monthly Income? </label>
<div class="gcore-input-wide gcore-display-table" id="fin-text20"><input name="GrossIncome?" id="text20" value="" placeholder="" maxlength="" size="45" class="validate['required','number'] form-control A" title="" style="" data-inputmask="" data-load-state="" data-tooltip="" type="text" /></div></div><div class="form-group gcore-form-row" id="form-row-7"><label for="dropdown26" class="control-label gcore-label-top">Do you Have Credit Challenges?</label>
<div class="gcore-input-wide gcore-display-table" id="fin-dropdown26"><select name="Credit?" id="dropdown26" size="" class="validate['required'] form-control A" title="" style="" data-load-state="" data-tooltip="">
<option value="No">No</option>
<option value="Yes">Yes</option>
</select></div></div><div class="form-group gcore-form-row" id="form-row-9"><label for="text22" class="control-label gcore-label-top">Have you considered buying a home and paying yourself instead of an landlord?</label>
<div class="gcore-input-wide gcore-display-table" id="fin-text22"><input name="Buying?" id="text22" value="" placeholder="" maxlength="" size="45" class="form-control A" title="" style="" data-inputmask="" data-load-state="" data-tooltip="" type="text" /></div></div><div class="form-group gcore-form-row" id="form-row-15"><label for="radio39" class="control-label gcore-label-top gcore-label-checkbox">Do you have pets?</label>
<div class="gcore-input-wide gcore-display-table" id="fin-radio39"><div class="gcore-single-column" id="fclmn14"><div class="gcore-radio-item" id="fitem11"><input name="radio39" id="radio3910" value="No" class="A" title="" style="" data-load-state="" data-tooltip="" type="radio" />
<label class="control-label gcore-label-checkbox" for="radio3910">No</label></div>
<div class="gcore-radio-item" id="fitem13"><input name="radio39" id="radio3912" value="Yes" class="A" title="" style="" data-load-state="" data-tooltip="" type="radio" />
<label class="control-label gcore-label-checkbox" for="radio3912">Yes</label></div></div></div></div><div class="form-group gcore-form-row" id="form-row-17"><label for="text40" class="control-label gcore-label-top">What breed is the pet?</label>
<div class="gcore-input-wide gcore-display-table" id="fin-text40"><input name="Breed?" id="text40" value="" placeholder="" maxlength="" size="" class="form-control A" title="" style="" data-inputmask="" data-load-state="hidden_parent" data-tooltip="" type="text" /></div></div></div><div class="chronoform-container" id="chronoform-container-2" style="float:left; width:47%"><?php
$keys = \GCore\Libs\Arr::getVal(\GCore\Libs\Arr::getVal($form->data, explode(".", "RentData")), explode(".", "[n].pr_street"));
$values = \GCore\Libs\Arr::getVal(\GCore\Libs\Arr::getVal($form->data, explode(".", "RentData")), explode(".", "[n].pr_street"));
$options = array_combine($keys, $values);
$field = array (
  'name' => 'PropOfInterest',
  'id' => 'dropdown27',
  'options' => 
  array (
  ),
  'empty' => '',
  'values' => 
  array (
  ),
  'label' => 
  array (
    'text' => 'Property Of Interest',
    'position' => 'top',
  ),
  'sublabel' => '',
  'multiple' => '0',
  'size' => '',
  'class' => ' validate[\'required\']',
  'title' => '',
  'style' => '',
  'params' => '',
  ':data-load-state' => '',
  ':data-tooltip' => '',
  'type' => 'dropdown',
  'container_id' => '2',
);
$field["options"] = $options;
echo \GCore\Helpers\Html::formLine($field["name"], $field);
?><div class="form-group gcore-form-row" id="form-row-19"><label for="text10" class="control-label gcore-label-top">What Price Range are you Exploring? </label>
<div class="gcore-input-wide gcore-display-table" id="fin-text10"><input name="RentalPrice" id="text10" value="" placeholder="" maxlength="" size="45" class="validate['required','number'] form-control A" title="" style="" data-inputmask="" data-load-state="" data-tooltip="" type="text" /></div></div><div class="form-group gcore-form-row" id="form-row-21"><label for="datepicker12" class="control-label gcore-label-top">Moving date?</label>
<div class="gcore-input-wide gcore-display-table" id="fin-datepicker12"><input name="MoveInDate" id="datepicker12" value="" data-gdatetimepicker-format="Y-m-d" placeholder="" size="45" class="form-control A" title="" style="" data-load-state="" data-tooltip="" type="text" data-gdatetimepicker="1" /></div></div><div class="form-group gcore-form-row" id="form-row-22"><label for="dropdown13" class="control-label gcore-label-top">How Many Bedrooms?</label>
<div class="gcore-input-wide gcore-display-table" id="fin-dropdown13"><select name="Bedrooms?" id="dropdown13" size="" class="form-control A" title="" style="" data-load-state="" data-tooltip="">
<option value="Studio">Studio</option>
<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></div></div><div class="form-group gcore-form-row" id="form-row-23"><label for="dropdown14" class="control-label gcore-label-top">How Many Bathrooms?</label>
<div class="gcore-input-wide gcore-display-table" id="fin-dropdown14"><select name="Bathrooms?" id="dropdown14" size="" class="form-control A" title="" style="" data-load-state="" data-tooltip="">
<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></div></div><div class="form-group gcore-form-row" id="form-row-24"><label for="dropdown25" class="control-label gcore-label-top">Is your Move-In Money Ready? </label>
<div class="gcore-input-wide gcore-display-table" id="fin-dropdown25"><select name="Move-In?" id="dropdown25" size="" class="validate['required'] form-control A" title="" style="" data-load-state="" data-tooltip="">
<option value="No">No</option>
<option value="Yes">Yes</option>
</select><span class="help-block">First Months Rent & Security Deposit</span></div></div></div><div class="chronoform-container" id="chronoform-container-29" style="float:left; width:99%"><div class="form-group gcore-form-row" id="form-row-30"><label for="radio33" class="control-label gcore-label-top gcore-label-checkbox">Have you chosen a real estate agent to work with?</label>
<div class="gcore-input-wide gcore-display-table" id="fin-radio33"><div class="gcore-single-column" id="fclmn29"><div class="gcore-radio-item" id="fitem26"><input name="ChoosenRealEstate?" id="radio3325" value="0" class="A" title="" style="" data-load-state="" data-tooltip="" type="radio" />
<label class="control-label gcore-label-checkbox" for="radio3325">No</label></div>
<div class="gcore-radio-item" id="fitem28"><input name="ChoosenRealEstate?" id="radio3327" value="1" class="A" title="" style="" data-load-state="" data-tooltip="" type="radio" />
<label class="control-label gcore-label-checkbox" for="radio3327">Yes</label></div></div></div></div><div class="form-group gcore-form-row" id="form-row-32"><label for="text34" class="control-label gcore-label-top">We can’t work with clients who already  have an agent. Please call them, they will be happy to help you!</label>
<div class="gcore-input-wide gcore-display-table" id="fin-text34"><input name="ChosenRealEstateResponse" id="text34" value="" placeholder="" maxlength="" size="" class="form-control A" title="" style="" data-inputmask="" data-load-state="hidden_parent" data-tooltip="" type="text" /></div></div><div class="form-group gcore-form-row" id="form-row-38"><label for="radio30" class="control-label gcore-label-top gcore-label-checkbox">11.Do you know how real estate agents get paid?</label>
<div class="gcore-input-wide gcore-display-table" id="fin-radio30"><div class="gcore-single-column" id="fclmn37"><div class="gcore-radio-item" id="fitem34"><input name="AgentsPay?" id="radio3033" value="0" class="A" title="" style="" data-load-state="" data-tooltip="" type="radio" />
<label class="control-label gcore-label-checkbox" for="radio3033">No</label></div>
<div class="gcore-radio-item" id="fitem36"><input name="AgentsPay?" id="radio3035" value="1" class="A" title="" style="" data-load-state="" data-tooltip="" type="radio" />
<label class="control-label gcore-label-checkbox" for="radio3035">Yes</label></div></div></div></div><div class="form-group gcore-form-row" id="form-row-44"><label for="radio36" class="control-label gcore-label-top gcore-label-checkbox">Actually we work for free until we sell or rent a home. This means we have to be careful  how we use our time. Would you say you are motivated to make a decision this week?</label>
<div class="gcore-input-wide gcore-display-table" id="fin-radio36"><div class="gcore-single-column" id="fclmn43"><div class="gcore-radio-item" id="fitem40"><input name="WorkUntil" id="radio3639" value="0" class="A" title="" style="" data-load-state="hidden_parent" data-tooltip="" type="radio" />
<label class="control-label gcore-label-checkbox" for="radio3639">No</label></div>
<div class="gcore-radio-item" id="fitem42"><input name="WorkUntil" id="radio3641" value="1" class="A" title="" style="" data-load-state="hidden_parent" data-tooltip="" type="radio" />
<label class="control-label gcore-label-checkbox" for="radio3641">Yes</label></div></div></div></div><div class="form-group gcore-form-row" id="form-row-46"><label for="datepicker37" class="control-label gcore-label-top">What date suits you?</label>
<div class="gcore-input-wide gcore-display-table" id="fin-datepicker37"><input name="MakeAppointment" id="datepicker37" value="" data-gdatetimepicker-format="Y-m-d" placeholder="" size="" class="form-control A" title="" style="" data-load-state="hidden_parent" data-tooltip="" type="text" data-gdatetimepicker="1" /></div></div></div></div><div style="clear:both;"></div><div class="form-group gcore-form-row" id="form-row-47"><div class="gcore-input gcore-display-table" id="fin-button4"><input name="button4" id="button4" type="submit" value="Submit" class="form-control A" style="" data-load-state="" /></div></div>
dujonn 26 Jun, 2014
Good lord I was tired when I wrote that, pardon the spelling etc

Correction
"... appropriate radio button is not brining up the text box?"
dujonn 26 Jun, 2014
Figured it out

In my radio button options I originally set up with:
0=No
1=Yes

But I reset to the below so that the results pass easily to email:
No
Yes

What I forgot was to update the value in the events tab from the integer.

Cheers!
This topic is locked and no more replies can be posted.