Saltar navegación

[Resuelto] display checkbox value by condition

This support ticket is created hace 6 años, 1 mes. There's a good chance that you are reading advice that it now obsolete.

This is the technical support forum for Toolset - a suite of plugins for developing WordPress sites without writing PHP.

Everyone can read this forum, but only Toolset clients can post in it. Toolset support works 6 days per week, 19 hours per day.

Sun Mon Tue Wed Thu Fri Sat
- 9:00 – 13:00 9:00 – 13:00 9:00 – 13:00 9:00 – 13:00 9:00 – 13:00 -
- 14:00 – 18:00 14:00 – 18:00 14:00 – 18:00 14:00 – 18:00 14:00 – 18:00 -

Supporter timezone: Asia/Karachi (GMT+05:00)

Etiquetado: 

Este tema contiene 1 respuesta, tiene 1 mensaje.

Última actualización por Akhil hace 6 años, 1 mes.

Asistido por: Waqar.

Autor
Mensajes
#1165312

Hi. i need to display 3 values from the checkbox fields.

[wpv-conditional if="( $(wpcf-promo-type) eq 'New Discount ')"] 
  <div class="base"><span> New Discount!</span></div>
[/wpv-conditional]
   
   [wpv-conditional if="( $(wpcf-promo-type) eq 'Preview Discount')"] 
  <div class="red"><span> Preview Discount</span></div>
[/wpv-conditional]
   
   [wpv-conditional if="( $(wpcf-promo-type) eq 'Early Discount ' )"] 
  <div class="yellow"><span> Early Discount</span></div>
[/wpv-conditional]

it displays/processes only the first one, not the subsequent. whats the issue pls.

Thanks.

#1165313