TEMA:

Auto fill field 1 año 1 semana antes #277615

  • Autor del tema
  • ducman
  • Fuera de línea
  • Navegador Senior
  • Navegador Senior
  • Registered
  • Mensajes: 131
  • Gracias recibidas: 0
Good afternoon, I have tried without success to do the following:

I have two fields type "select" in the field called "one" I have two options A and B. Then I have another field called "dos" type "select" with 4 options RED, GREEN, BLUE, BLACK.

I am trying that when I choose option A in field "one" in field "dos", the "BLUE" option is automatically filled in. It's possible? I don't know if I explained myself well, sorry but I use the google translator.

Thank you!!

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

Auto fill field 1 año 1 semana antes #277618

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

ok, if I understood you correctly, based on first selection in first select list, you want to populate second select list? Am I right?

Regards,
Tihana

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

Auto fill field 1 año 1 semana antes #277622

  • Autor del tema
  • ducman
  • Fuera de línea
  • Navegador Senior
  • Navegador Senior
  • Registered
  • Mensajes: 131
  • Gracias recibidas: 0
Hello Tihana, yes that is how you say. Yet another solution would be that by selecting an item from the first select list, it would automatically fill in a text field (thus skipping the second select field).

Thank you!

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

Auto fill field 1 año 1 semana antes #277623

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

here is explain how to populate one select list based on another select list:
crosstec.org/en/forums/coding-consultanc...html?start=12#271741

For this you need some ajax code and php code

Let me know if you need more help

Also, if I missed something , let me know

Regards,
Tihana

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

Última Edición: Post by tihana.krivic.

Auto fill field 1 año 1 semana antes #277625

  • Autor del tema
  • ducman
  • Fuera de línea
  • Navegador Senior
  • Navegador Senior
  • Registered
  • Mensajes: 131
  • Gracias recibidas: 0
Hello, I have used in editable prepare the following code that also works for me (and for me it is easier)

if($items["OPENING_CLEANING"]["value"] == 'YES'){$items["status "]["value"] ='IN PROCESS';}

The problem I have is that when I edit the value is not saved, I have to enter it again for it to appear, is there a solution?

Thank you!

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

Última Edición: Post by ducman.

Auto fill field 1 año 1 semana antes #277626

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

ah, sorry, you are using only content builder ?
If yes, then you can't use this code from previous message

Regards,
Tihana

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

Última Edición: Post by tihana.krivic.
Moderadores: ForumSupport
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!