TEMA:

Conditional elements does not work 1 año 8 meses antes #267965

  • Avatar de RedStar Autor del tema
  • RedStar
  • Fuera de línea
  • Navegador Senior
  • Navegador Senior
  • Registered
  • Mensajes: 82
  • Gracias recibidas: 4
Hello,


After a review of the following Breezing Forms Tutorial:

crosstec.org/en/support/online-documenta...f-conditionally.html

I'm trying to switch ON one field (list) when a specif value is selected from another list.


I used the following coding given in the tutorial :

turn on element mytext if myselectlist is somevalue


In my case I have a list with a name "engine_manufacturer". This list contains some manufacturers.
I created two other lists named "engine_air_repair" and "engine_austro_engine".



In element options of two lists: "engine_air_repair" and "engine_austro_engine" I ticked "Turn Off" in order to not show these lists till an element is not selected from the list "engine_manufacturer".

I putted the following into the "Visibility Rules" of my BreezingForm:

turn on element engine_air_repair if engine_manufacturer is AIR REPAIR INC.
turn on element engine_austro_engine if engine_manufacturer is AUSTRO ENGINE GMBH



Hower when I'm going on my Frontpage the "engine_air_repair" list is showing alltime whatever the value used from the main list called "engine_manufacturer"...


I need to show a list of engine types/model ("engine_air_repair" or "engine_austro_engine") accordingly the selected value (manufacturer) in "engine_manufacturer" list.




Please, can you help me?


Thanks in advance,
Max.

Por favor, Identificarse o Crear cuenta para unirse a la conversación.

Última Edición: Post by RedStar.

Conditional elements does not work 1 año 8 meses antes #267966

  • Avatar de RedStar Autor del tema
  • RedStar
  • Fuera de línea
  • Navegador Senior
  • Navegador Senior
  • Registered
  • Mensajes: 82
  • Gracias recibidas: 4
Please close this topic. My problem is directly related to my Template incompatibility...

Por favor, Identificarse o Crear cuenta para unirse a la conversación.

Conditional elements does not work 1 año 8 meses antes #267972

  • Avatar de tihana.krivic
  • tihana.krivic
  • Fuera de línea
  • Moderador
  • Moderador
  • Registered
  • Mensajes: 12079
  • Gracias recibidas: 788
Hi,

ok :)

If you need anything else, feel free to ask

Regards,
Tihana

Por favor, Identificarse o Crear cuenta para unirse a la conversación.

Conditional elements does not work 1 año 8 meses antes #268042

  • Avatar de RedStar Autor del tema
  • RedStar
  • Fuera de línea
  • Navegador Senior
  • Navegador Senior
  • Registered
  • Mensajes: 82
  • Gracias recibidas: 4
Hi Tihana, I solved this issue. There's "Compress HTML - Strip Whitespace" and "Smooth Scroll" settings in "Advnced tab" of Flex template. They caused my bugs with BreezingForms. Now everything looks fine. Summarize function also works perfectly.

Thank you.
Have a nice day.
Max.

Por favor, Identificarse o Crear cuenta para unirse a la conversación.

Conditional elements does not work 1 año 8 meses antes #268043

  • Avatar de tihana.krivic
  • tihana.krivic
  • Fuera de línea
  • Moderador
  • Moderador
  • Registered
  • Mensajes: 12079
  • Gracias recibidas: 788
Hi,

super :)

If you need help, let us know :)

Regards,
Tihana

Por favor, Identificarse o Crear cuenta para unirse a la conversación.

Conditional elements does not work 1 año 8 meses antes #268068

  • Avatar de RedStar Autor del tema
  • RedStar
  • Fuera de línea
  • Navegador Senior
  • Navegador Senior
  • Registered
  • Mensajes: 82
  • Gracias recibidas: 4
Hi Tihana,


I'm trying to perform the following:


turn on element engine_air_repair if engine_manufacturer is AIR REPAIR INC.
turn off element engine_air_repair if engine_manufacturer isnot AIR REPAIR INC.
turn on element engine_austro_engine if engine_manufacturer is AUSTRO ENGINE GMBH
turn off element engine_austro_engine if engine_manufacturer isnot AUSTRO ENGINE GMBH

Basically when selecting an element from the list the new field should appear and if it is not selected it must be hided. Actually when selecting an element from the list no field comes up (not showing). Maybe there's another syntax for that?


Thank you in advance.
Max.

Por favor, Identificarse o Crear cuenta para unirse a la conversación.

  • Página:
  • 1
  • 2
Tiempo de carga de la página: 0.063 segundos

Live Support Chat Opened!

Join our Discord chat here and enter the Crosstec channels to receive live support and talk directly to the team!