Martyn Houghton Posted June 10, 2021 Share Posted June 10, 2021 Can I request an enhancement to add the 'is in' login operation to the Branch custom expressions in Progressive Capture, so that it is easier to include multiple values without an excessive list of OR conditions. For example Cheers Martyn Link to comment Share on other sites More sharing options...
Guest Paul Alexander Posted June 10, 2021 Share Posted June 10, 2021 Definite +1 for this for us..... Link to comment Share on other sites More sharing options...
NeilWJ Posted June 11, 2021 Share Posted June 11, 2021 @Martyn Houghton, Not sure why it isn't in there already. I will have a look at adding it and let you know. Cheers 1 Link to comment Share on other sites More sharing options...
Martyn Houghton Posted June 11, 2021 Author Share Posted June 11, 2021 @NeilWJ Thanks for the quick response. Cheers Martyn Link to comment Share on other sites More sharing options...
NeilWJ Posted June 14, 2021 Share Posted June 14, 2021 @Martyn Houghton @Paul Alexander, So in the next release there will be a "is in" and "is not in" option. In the value box just use a comma separated values to check. a,b,c,1,2,true,false,null,undefined Note do not quote values....As the PC engine is client side it will perform an array.indexOf. So for example the above would result in something like:- ["a","b","c",1,2,true,false,null,undefined].indexOf(<thepcfvariablevaluetesting>) Cheers 1 Link to comment Share on other sites More sharing options...
Martyn Houghton Posted June 15, 2021 Author Share Posted June 15, 2021 @NeilWJ That will be a great help. Cheers Martyn Link to comment Share on other sites More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now