Jump to content
Claris Engage 2025 - March 25-26 Austin Texas ×

This topic is 5230 days old. Please don't post here. Open a new topic instead.

Recommended Posts

Posted

Hi experts,

I want to conditional format a field when the field contains a name with extension of .txt, .pdf, .bmp, .gif, .jpg, .png, or .mov.

This one will work, but I'm wondering if there is a better way to write it.

PatternCount ( Test::Uploadnames ; ".JPG" )  or 

PatternCount ( Test::Uploadnames ; ".png" )  or  

PatternCount ( Test::Uploadnames ; ".pdf" )  or  

PatternCount ( Test::Uploadnames ; ".txt" )  or  

PatternCount ( Test::Uploadnames ; ".gif" )

TIA for your kind assistance.

Kiele

Posted

Hi Daniele,

Thank you for your assistance, it works great.

I modified it for use with a value list, and this is what it look like.

ValueCount ( FilterValues ( ValueListItems ( "Test" ; "ext" ) ; Substitute ( Test::Uploadnames ; "." ; "¶." ) ) )

Thank you again,

Kiele

This topic is 5230 days old. Please don't post here. Open a new topic instead.

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...

Important Information

By using this site, you agree to our Terms of Use.