Jump to content

Solved: Show field in admin if title in specific language is not empty


dotnetic
 Share

Recommended Posts

chrome_2018-01-23_17-57-20.thumb.png.8b7942a847aeb8316a60d6975514cb23.png

I want to show the field "Bilder Französisch" in the admin only if the french title field is filled out.

So I entered in the "show this field only if" section on the field 

title_fr!=""

but this doesn't work. How can I achieve this?

Link to comment
Share on other sites

The title field is a multi language field, not a language alternate field. The id of the HTML input element is of the format Inputfield_[field name]__[language id] (Example: Inputfield_title__1013). You can see the language id in the address bar when you edit a language. In the showIf condition, enter that HTML id without the Inputfield_ prefix, e.g.

title__1013!=''

 

  • Like 3
Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

×
×
  • Create New...