[attachment=2]Schermata 2014-09-08 alle 15.47.25.png[/attachment]Hi everybody,
i'm working on a website i didn't build, and i'm trying to make forms work.
I don't know why, but some time ago we have a form that keeps the $page_name parameter and set it on the db along with the form data, now it doesn't work.
In the form there is a hidden field, you can see the attachment: the field_id is pagina_prov, without a default value
[attachment=0]Schermata 2014-09-08 alle 15.42.04.png[/attachment]
In the events tab, before the db_save, there is a custom code:
<?php
$form->data['pagina_prov'] = $page_name;
?>
[attachment=1]Schermata 2014-09-08 alle 15.44.19.png[/attachment]
And this is the db_save:
[attachment=2]Schermata 2014-09-08 alle 15.47.25.png[/attachment]
Any hint?
Thanks,
Lucio
i'm working on a website i didn't build, and i'm trying to make forms work.
I don't know why, but some time ago we have a form that keeps the $page_name parameter and set it on the db along with the form data, now it doesn't work.
In the form there is a hidden field, you can see the attachment: the field_id is pagina_prov, without a default value
[attachment=0]Schermata 2014-09-08 alle 15.42.04.png[/attachment]
In the events tab, before the db_save, there is a custom code:
<?php
$form->data['pagina_prov'] = $page_name;
?>
[attachment=1]Schermata 2014-09-08 alle 15.44.19.png[/attachment]
And this is the db_save:
[attachment=2]Schermata 2014-09-08 alle 15.47.25.png[/attachment]
Any hint?
Thanks,
Lucio