Hi!
I've a multipag form with 2 step.
In the 1st page i've added the button.
This button goes to the next step:
But the problem is when i click on this button
the next step page is with empty "cognome" field.
In previous step i've write in field "cognome" e. Adams
Thanks at all
I've a multipag form with 2 step.
In the 1st page i've added the button.
This button goes to the next step:
<a href="index.php?option=com_chronocontact&chronoformname=Chiamata1&cfformstep=2">Trasforma in pratica</a>
But the problem is when i click on this button
the next step page is with empty "cognome" field.
In previous step i've write in field "cognome" e. Adams
Thanks at all
Hi pasqualedi,
Have you set the value of the second congnome field?
value='<?php echo $posted['congnome']; ?>'
Bob
Haven't we just been through this in another thread?
Have you set the value of the second congnome field?
value='<?php echo $posted['congnome']; ?>'
Bob
Haven't we just been through this in another thread?
Hi Bob!
I've this value for second step in cognom field.
This value working when i follow the step 1 and after step 2.
But when i click the button "Trasforma in pratica" all field are empty.
I've this value for second step in cognom field.
This value working when i follow the step 1 and after step 2.
But when i click the button "Trasforma in pratica" all field are empty.
Hi pasqaledi,
Sorry, I've no idea where this is happening or what the "Trasforma in pratica" button is???
Bob
Sorry, I've no idea where this is happening or what the "Trasforma in pratica" button is???
Bob
This is an image of edit recod page:
.
The 1st button "Salva e Continua" save the record.
When i edit this record i've the 2nd button "Trasforma in pratica",this is an image
with link:

The 1st button "Salva e Continua" save the record.
When i edit this record i've the 2nd button "Trasforma in pratica",this is an image
with link:
<a href="index.php?option=com_chronocontact&chronoformname=Chiamata1&cfformstep=2"><img src="images/stories/gestionale/botttrasforma.jpg" alt="" width="115" height="18" /></a>
Hi pasqualedi,
That's a good looking form !
As far as I know if you step backward all the form information is still available from the $posted array and the previous code shoudl work.
To test you can temporarily add this code at the beginning of the form HTML for each page to print out some debug code.
Bob
That's a good looking form !
As far as I know if you step backward all the form information is still available from the $posted array and the previous code shoudl work.
To test you can temporarily add this code at the beginning of the form HTML for each page to print out some debug code.
<?php
if ( !$mainframe->isSite() ) { return; }
echo '<div>$posted: '.print_r($posted, true).'</div>';
?>
Bob
Hi Bob!thanks for your infinite patience!
Now i don't need of multipage form.
In this moment i have 2 form with 1 databse table.
1st "Registra Chiamata" and 2nd "trasforma in pratica"
I try with your code in 1st and 2nd form.Nothing...
I try to show my steps example:
1.write your name

2.Save the form

3.Click on the edit(Vedi) in chronoconnctivity table

4.Open the record and click on the "Trasforma Pratica" (is 2nd form)
this is the link

5.This is the result

Ps. in second form for "nome" field i've this value:
Now i don't need of multipage form.
In this moment i have 2 form with 1 databse table.
1st "Registra Chiamata" and 2nd "trasforma in pratica"
I try with your code in 1st and 2nd form.Nothing...
I try to show my steps example:
1.write your name

2.Save the form

3.Click on the edit(Vedi) in chronoconnctivity table

4.Open the record and click on the "Trasforma Pratica" (is 2nd form)
this is the link
<a href="http://www.mysite.com/index.php?option=com_chronocontact&chronoformname=Pratica1&task=editrecord&mids={nome}&mmids={cognome}&cids={cf_id}"><img src="images/stories/gestionale/botttrasforma.jpg" alt="" width="115" height="18" />

5.This is the result

Ps. in second form for "nome" field i've this value:
<?php echo $posted['nome']; ?>
This topic is locked and no more replies can be posted.