Problems using "Validate Fields" ...

extrom 30 Jun, 2018
I'm using the "Validate Fields" in EVENT SUBMIT and it works correctly ...
When I use the "Validate Fields" in another EVENT any does not work ...
Why does it only work on submit?
extrom 30 Jun, 2018
In Validate Fields "validate_fields39" I ask if "button69" is present ...
We can see in the above arfray that it is NOT present ...
But anyway "validate_fields39" returns with var = 1
Array
(
    [option] => com_chronoforms6
    [cont] => manager
    [chronoform] => defined-3
    [event] => page3
    [cpf] => 40781836700
    [funcao_do_ponto] => 
    [titulo_da_funcao] => 
    [identificao_do_ponto] => 
    [descreva] => 
    [button58] => 
    [nome] => Extrom Technology
    [select39] => 0
    [button44] => 
)
Array
(
    [validate_fields39] => Array
        (
            [log] => Automatic validation enabled.
            [var] => 1
        )

    [validate_fields13] => Array
        (
            [log] => Automatic validation enabled.
            [var] => 
        )

)
extrom 30 Jun, 2018
Note the "validate_fields13" is defined in the SUBMIT event
healyhatman 02 Jul, 2018
Because the field and therefore the rules attached to it only exists in the section that points to the SUBMIT event. If the field doesn't exist in the form and you're only asking it to validate the fields that exist, it will pass.
extrom 02 Jul, 2018
Ok, I understand the reason, now how to implement a page in "LOAD" and then a second page where a button is "ok" goes to submit, a second button is "next" with the function back to the same second page ?
I already tried "Multi Page" to transfer the same session ... to no success!
healyhatman 02 Jul, 2018
Look at multi page demo form
extrom 02 Jul, 2018
Okay, I've already seen the "https://www.chronoengine.com/faqs/74-chronoforms/chronoforms6/5310-how-to-build-a-multi-page-form" and tested the example however when I try to reload some page of this sequence the Validate_field placed in the submit is not able to verify the certain button to be able to divert through Event_load to any page in the same sequence
This topic is locked and no more replies can be posted.