Jump to content

Recommended Posts

Posted

Hi folks!

I have a little problem with some language-alternate filefields file and file_en inside a repeaterfield.

Some repeaters only contain geman files, others only contain english files.

Looking at the german version, everything is fine, you see only german files.

But looking at the english version, you see both english and german files because the default value is displayed if file_en is empty.

Is there a way to not display the default value if file_en is empty?

Regards,

Falk

Posted

This behavior is normally the reason to go for language alternate fields. But you can still get the field as normal by calling file_en or even not using language alternate fields. Either way you would need to build the logic to select the appropriate field on your own.

  • Like 1
Posted

:blush:

Oh my god…

Obviously this was the most stupid question ever.

Sorry for that, and thanks for answering anyway

  • Like 1
  • 8 months later...

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
×
×
  • Create New...