A have a multi page form, with hidden field on the first page. How i can override value of this field on the next pages? I try
but it doesn't work 😟
$form->data["c_path"]=$form->data["c_path"].'_'.$form->data["event"];
but it doesn't work 😟
Hi alitvin,
In a custom code action after the "multi page" action:
That should work I think!
Best regards,
Max
In a custom code action after the "multi page" action:
<?php
$form->data["c_path"] = $form->data["c_path"].'_'.$form->data["event"];
That should work I think!
Best regards,
Max
Hi Max, thanks for your answer. I put this custom code "multi page" action, but it doesn't work. On all following pages the original value of hidden field is displayed 😟 .
Ok, please move it above the "multi page" action ?
Best regards,
Max
Best regards,
Max
Yea, it works! Mx, thank, you very much! Just wondering, why it works that way?
Hi alitvin,
Because the data had to be changed before its stored in session by the "multi page".
Best regards,
Max
Because the data had to be changed before its stored in session by the "multi page".
Best regards,
Max
This topic is locked and no more replies can be posted.