Content Container Conditions


(Lewis) #1

5.5.3.3

I’m using a series of content container conditions to show/hide different parts of the Custom Form’s Format Bodycopy but, no matter which way I try to configure the conditions, they don’t seem to work.

Here’s an example of the conditions I’ve created for the Custom Form:

The Custom Form field I’m checking is an Option List type (essentially radio buttons). I’ve checked the values that Squiz receives and they’re simply 0, 1 or 2 depending on which of three options the user chooses, hence the ^eq:0 etc in the screenshot.

I’ve tried Logical conditions and Keyword Regex conditions and neither work. For regex conditions, I’ve tried using ^0$ and /^0$/ for example, but neither work.

Anyone got an ideas?


(Harinder Singh) #2

You need to use JS solution to achieve the expected behavior of your for. These conditions applied before the page load.

I am assuming you are trying to show and hide curtom form’s sections based on user selection of option list. If not then what is expected outcome from the conditions?


(Iain Simmons) #3

Hi @lewis,

Try use the question_answer_ prefix instead of response_ and see if that works.

I think response_ only works after a form has been submitted.

Cheers,
iain