- This topic has 2 replies, 2 voices, and was last updated 9 months ago by .
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' => 'Текст', ],
- You must be logged in to reply to this topic.