-
Hello Rudi,
I tried it just today but it didn't work properly.
Not all locations have a 3-rd level sublocations, but when selecting any location which has not, it's adding a 3-rd level disabled select. So how to make disabled selects not appear?
Thanks!
-
Hello,
I've checked it again and this code works well on my end
-
2 Attachment(s)
Hello,
Did you check it after adding a 3rd level for some location, and by selecting with both of them, with and without which doesn't have a 3rd level?
If you select a location that doesn't have a 3rd level does it remain invisible?
Attachment 4477
Attachment 4478
-
I changed this function like
$('select[name*=level2]').on('change', function() {
if($('select[name*=level3]').attr('disabled', false)){
$('select[name*=level3]').closest('.submit-cell').css('display', 'block');
};
});
But it didn't work.
-
Yes, I use the code from my post and it hides the 3d level
maybe you're doing something wrong
-
Initially it is hidden, but when the 2nd level of any location is selected it adds the 3rd level, even if the location hasn't that.
-
Ok, I've corrected my code
-
1 Attachment(s)
Hello Rudi,
Thank you for efforts to support us. I'll check this new code.
Now I'm busy with another problem that happened yesterday when I tried to make location urls multilingual. My xampp server refused to work.
I'm looking for a solution.
Attachment 4479
Any suggestions will be appreciated!
-
3 Attachment(s)
Maybe it has something to do with the phpMyadmin configuration, but I'm not sure.
In phpMyadmin when I went to the operations tab there was an error notification
Attachment 4480
Then I clicked on the link to find out the cause of this error and got to the page
Attachment 4481
then I got new tables in DB below all existing tables.
Attachment 4482
But it happened not yesterday, I just noticed them yesterday.