TEMA:

page navigation: ff_switchpage(1); --> not working 3 años 2 meses antes #244405

  • Autor del tema
  • rd
  • Fuera de línea
  • Navegador Dorado
  • Navegador Dorado
  • Registered
  • Mensajes: 388
  • Gracias recibidas: 4
Hello,

3 pages, page navigation via 3 submit elements and the following code for each submit element on each page:

Page One:
function ff_a1_action(element, action)
{
    switch (action) {
        case 'click':
               ff_switchpage(1);
            break;
        default:;
    } // switch
} // ff_a1_action

function ff_a2_action(element, action)
{
    switch (action) {
        case 'click':
               ff_switchpage(2);
            break;
        default:;
    } // switch
} // ff_a2_action

function ff_a3_action(element, action)
{
    switch (action) {
        case 'click':
               ff_switchpage(3);
            break;
        default:;
    } // switch
} // ff_a3_action

page two:
function ff_b1_action(element, action)
{
    switch (action) {
        case 'click':
               ff_switchpage(1);
            break;
        default:;
    } // switch
} // ff_b1_action

function ff_b2_action(element, action)
{
    switch (action) {
        case 'click':
               ff_switchpage(2);
            break;
        default:;
    } // switch
} // ff_b2_action

function ff_b3_action(element, action)
{
    switch (action) {
        case 'click':
               ff_switchpage(3);
            break;
        default:;
    } // switch
} // ff_b3_action
and so on.

switching to page two and three and between them is working. switching to page one not.
Any idea why not?
Thanky you again in advance for your help.
Regards,
Rolf

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

page navigation: ff_switchpage(1); --> not working 3 años 2 meses antes #244407

  • Autor del tema
  • rd
  • Fuera de línea
  • Navegador Dorado
  • Navegador Dorado
  • Registered
  • Mensajes: 388
  • Gracias recibidas: 4
I found the error by myself:
I forgot to mark the checkbox on action "click" for page one submit element.
:lol:

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

page navigation: ff_switchpage(1); --> not working 3 años 2 meses antes #244419

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

Great :D
Let us know if you need further help

Regards,
Tihana

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

  • Página:
  • 1
Tiempo de carga de la página: 0.047 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!