Container Conditions


(Lewis) #1

v5.5

Any ideas why this isn’t working? (see below). I’ve tried preg_match keyword too and the container still doesn’t show.

In the case of preg_match, the regular expression I’m using is /^Email$/ which works perfectly on any regular page when using %response_259_q3^preg_match:300% for example.

I’m guessing that, behind the scenes, %response… doesn’t work well with container conditions but I can’t be sure.

I’m working a time critical project and it would be really useful to use these conditions on containers.


(Iain Simmons) #2

Hi @lewis,

You might need to try the alternative keyword format when using them here:
https://matrix.squiz.net/manuals/custom-form/appendices/keyword-replacements#Custom-Form_keyword-replacements-for-the-custom-form-on-an-asset-listing

question_answer_259_q3 

Let me know how that goes.

Cheers,
– iain


(Lewis) #3

Thanks for the reply, @isimmons.

I’ll take a look.