Multipage and empty fild

pasqualedi 08 Feb, 2010
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:
<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
GreyHead 08 Feb, 2010
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?
pasqualedi 09 Feb, 2010
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.
GreyHead 09 Feb, 2010
Hi pasqaledi,

Sorry, I've no idea where this is happening or what the "Trasforma in pratica" button is???

Bob
pasqualedi 09 Feb, 2010
This is an image of edit recod page:
Multipage and empty fild image 1.

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>
GreyHead 09 Feb, 2010
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.
<?php
if ( !$mainframe->isSite() ) { return; }
echo '<div>$posted: '.print_r($posted, true).'</div>';
?>

Bob
pasqualedi 09 Feb, 2010
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
Multipage and empty fild image 2

2.Save the form
Multipage and empty fild image 3

3.Click on the edit(Vedi) in chronoconnctivity table
Multipage and empty fild image 4

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" />

Multipage and empty fild image 5

5.This is the result
Multipage and empty fild image 6

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.