- This topic has 2 replies, 2 voices, and was last updated 1 year ago by .
-
Topic
-
Hi, I’m trying to do this type of logic: when user filled single_image either text field, the other field is brcomes hidden. That’s how I reached the goal for one field with match operator, but I can’t make text field hidden if image is selected, so I suggest to make some operator, like ‘exists’ or ‘not empty’.
[ 'id' => 'logo', 'type' => 'single_image', 'name' => 'Лого', 'hidden' => [ 'title', 'match', '.+' ], ], [ 'id' => 'title', 'type' => 'text', 'name' => 'Текст', ],
Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
- You must be logged in to reply to this topic.