18 Posts
mikikado
9 years ago
1
Topic

Hi there!

I have a problem with conditional states in combination with a dynamic select field.

Situation:

I have a Dynamic Select field. This is filled dynamically by datas from phpmyadmin table. It functions. I have a js-code:

$('#name_dynamic').on('change', function(){.....}

Till this everything is fine. But I have another field named #firstname. I have here the conditional state:

is visible when #name_dynamic is changed

But the field #firstname is always visible. Even when I delete the js-code. So with the code is nothing wrong.

My question is, if conditional states does not work whith the trigger "is changed" for a dynamic field?

For your answers thank you in advance.

Best regards

Michael

Get a Book for SEBLOD
18 Posts
mikikado
9 years ago
0
Level 1

Found a solution. Instead of "is changed" I used "is filled". And it works....

Get a VIP membership