11 years ago
1
Topic

Good day!

I am stuck and can't find the way out. Please help!

I am using seblod to manage user profiles. In the site form a user has to choose his country in the select-dynamic field. The "region" field (also select-dynamic) is disabled with conditional states and triggers, unless user chooses Russia in country dropdown list. It works ok on registration.

But when a registered user from Russia wants to modify his profile, the value of the region field is set to "not selected". A user can't save the profile without picking the region once again. The value of the "region" field is stored correctly in the database.

the region field:

is disabled #form# when "country" is different "Russia"

is empty #form# when "country" is different "Russia"

What am i doing wrong?

Thank you.

Get a Book for SEBLOD
11 years ago
0
Level 1

Changed the conditions to:

is disabled #form# when "country" is different "Russia"

is hidden #form# when "country" is different "Russia"

It works. It is not exactly what was planned (the field is no longer visible by default), but it is a solution for this time.


Get a Book for SEBLOD