Cascading Dropdown

fwprog

New Member
Hello,

i have a normal dropdown element (City) to choose the city name.
value -- label
1 -- city1
2 -- city2

I created a table with the streetnames.
id -- streetname -- id_city
1 -- street1 -- 1
2 -- street2 -- 1
3 -- street3 -- 1
4 -- street4 -- 2
5 -- street5 -- 2

Cascading dropdown element:
Render as: dropdown
Connection: site database
List: streetnames
ID: id [Recommended]
Label: Streetname
Watch element: City
Foreign key: id_city

In my form i could choose the city. The cascading element is always greyed out.
I don?t know whats wrong.

Could somebody help me?

Thanks
Jens
 
Which exact Fabrik and Joomla version?
Which Fabrik form template and Joomla template? (try with standard Fabrik bootstrap and with Joomla's Protostar).
 
Hello troester,

my Joomla Version is 3.3.6
The Fabrik Version is 3.2.
Fabrik form template is bootstrap an the Joomla template is Protostar.

Thanks
Jens
 
Use either Chrome's developer tools or Firebug in FF, and see if errors are being thrown when you change the City selection.

-- hugh
 
Hello,

i checked this:
The Debugger Info for the street:
<div class="fabrikElement">
<select id="einsatzbericht___Strasse" name="einsatzbericht___Strasse[]" class="fabrikinput inputbox readonly" readonly="readonly" size="1">
<option value="" selected="selected">Bitte w&auml;hlen</option>
</select>

<i class="icon-ajax-loader loader" style="display:none;padding-left:10px;" ></i>
</div><!-- end fabrikElement -->

<div class="fabrikErrorMessage">
</div><!-- end element error -->

The Debugger Info for the city:

<div class="fabrikElement">
<select id="einsatzbericht___Ort" name="einsatzbericht___Ort[]" class="fabrikinput inputbox input input-large" size="1">
<option value="" selected="selected">Bitte w&auml;hlen</option>
<option value="1">Assenheim</option>
<option value="2">B&ouml;nstadt</option>
<option value="3">Ilbenstadt</option>
<option value="4">Kaichen</option>
</select>

<div class="btn-group" style="position:inherit">
<a href="/index.php/einsatzberichte-erstellen/list/10?tmpl=component&amp;ajax=1" class="toggle-selectoption btn" title="Ausw?hlen"><i class="icon-search " ></i></a>
<a href="/index.php/einsatzberichte-erstellen/form/10?tmpl=component&amp;ajax=1" title="Hinzuf?gen" class="toggle-addoption btn">
<i class="icon-plus " ></i></a>
</div>
</div><!-- end fabrikElement -->

<div class="fabrikErrorMessage">
</div><!-- end element error -->

There are no error messages...

Thanks
Jens
 
I can't really do much hands on support in Community, but point me at the page and I'll have a quick look.

-- hugh
 
I was able to get on the site, there are JS errors...
But his Fabrik is outdated, so I don't think it makes sense to test.

My testsite is not working with a similar setup and Fabrik3.2 (but it's Joomla3.4.4, so not really the same) but all is ok with recent GitHub.
 
Your CDD is working here.
Did you clear all Joomla and browser cache?

Although there's still a JS error in main.js and it seems you have a googlemap element which is not displaying.
Did you update to Fabrik3.3.3 (Joomla updater) or to the recent GitHub version?
 
I have updated with the joomla updater.
I cleared the cache now.
With Firefox i have problems again. But with chrome it worksfine now...
 
Hello,

and now i have the next problem...
I fill out my form an click save. Then fabrik creates 77 entrys :(.
Any idea?

Thanks Jens
 
We are in need of some funding.
More details.

Thank you.

Members online

Back
Top