TEMA:

Check duplicate value on Table by drop-down 1 año 4 meses antes #273582

  • Autor del tema
  • midimoinsdix
  • Fuera de línea
  • Navegador Senior
  • Navegador Senior
  • Registered
  • Mensajes: 100
  • Gracias recibidas: 0
A think that the script is good because if I have not dupplicate value, it's record and if I have dupplicate value is Not record (but I have a blank page !)
It's "just" the error message

I follow the same method that for PSW Dupplicate > 4 scripts
2 on Field Drop-down (listGraphicWorkshop)
1 on Form pieces in the Before Form section
1 on Submit pieces and in the Begin Submit section


Thank's to spend a lot of your time to see it.
I wait ...

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

Check duplicate value on Table by drop-down 1 año 4 meses antes #273583

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

this happend because "exit" is there, if someone enters duplicate value it is on exit, and that is the reason why there is empty page.

You can add specific message before exit, like:
echo "Value is duplicated, please add another value";
exit;

or if you want to redirect it on specific page if value is duplicate then:
 header("Location: https://crosstec.org/en/");
exit;
Please test it and then let me know the result

Regards,
Tihana

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

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

Check duplicate value on Table by drop-down 1 año 4 meses antes #273585

  • Autor del tema
  • midimoinsdix
  • Fuera de línea
  • Navegador Senior
  • Navegador Senior
  • Registered
  • Mensajes: 100
  • Gracias recibidas: 0
Sorry Tihana but I have no change !
Only the same blank Page ...

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

Check duplicate value on Table by drop-down 1 año 4 meses antes #273587

  • Autor del tema
  • midimoinsdix
  • Fuera de línea
  • Navegador Senior
  • Navegador Senior
  • Registered
  • Mensajes: 100
  • Gracias recibidas: 0
Can we have a error message on the form page like we have on Dupplicate Psw fonction ?

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

Check duplicate value on Table by drop-down 1 año 4 meses antes #273588

  • Autor del tema
  • midimoinsdix
  • Fuera de línea
  • Navegador Senior
  • Navegador Senior
  • Registered
  • Mensajes: 100
  • Gracias recibidas: 0
You can test it, with your Front Login transmit.
Because all data are already save.
Then the form must to display error, if the script is correct .

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

Check duplicate value on Table by drop-down 1 año 4 meses antes #273590

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

script is correct, could you please check phperror log?
And if there is something useful please post it here

If you can't find php error log, ask your host provider for this

Regards,
Tihana

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

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!