In the parameter and then in AFFICHAGE on the profil (public ) I wrote the following code :
[cb:if cb_titre==1]blablabla [/cb:if]
[cb:if cb_titre==2]nanana [/cb:if]
....
Is there something missing to catch or to test the cb_titre value ?
That's not valid substitution syntax. Our substitution syntax is well documented below.
www.joomlapolis.com/documentation/279-community-builder/tutorials/18353-using-substitutions-throughout-cb
If you want to check if a text field has a value or not you can use the below.
Not Empty (Text Field)
Syntax: [cb:if FIELD_NAME!=""]The text field is not empty.[/cb:if]
Example: [cb:if cb_mytext!=""]The text field is not empty.[/cb:if]
Empty (Text Field)
Syntax: [cb:if FIELD_NAME=""]The text field is empty.[/cb:if]
Example: [cb:if cb_mytext=""]The text field is empty.[/cb:if]
If you want to check if a radio field has a specific value selected you'd just condition against that value. Example as follows.
Value Selected (Radio Field)
Syntax: [cb:if FIELD_NAME="VALUE"]The radio VALUE is selected.[/cb:if]
Example: [cb:if cb_myradio="1"]The radio 1 is selected.[/cb:if]