The users want the ability to print their input before clicking on the "submit" button. window.print javascript works, but the result is too long - about 4 pages.
I would like a function, wherein only the form input text is printed (without having to print the sidebar,menu etc etc) .
Is it possible? Please, could you point me some source where I can find a solution.
Thanks in advance.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Why not just "File/Print" from the web browser?
The problem you have is that the data has not been captured yet by submitting the form. There is no easy way to get the data to reformat it except using something like javascript. Unfortunately this is probably going to be custom scripting which is not included in phpFormgenerator. If you can even find something like this on the web it my also be something that is not generic enough to just include in your form page.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Yep, I understand that there is no easy solution. :( That's why I was asking.
Currently, I simply modified confirmation file with <?php echo $_REQUEST['field_##'];?> and window.print javascript link. At least it's better than nothing.
Thanks a lot.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
The users want the ability to print their input before clicking on the "submit" button. window.print javascript works, but the result is too long - about 4 pages.
I would like a function, wherein only the form input text is printed (without having to print the sidebar,menu etc etc) .
Is it possible? Please, could you point me some source where I can find a solution.
Thanks in advance.
Why not just "File/Print" from the web browser?
The problem you have is that the data has not been captured yet by submitting the form. There is no easy way to get the data to reformat it except using something like javascript. Unfortunately this is probably going to be custom scripting which is not included in phpFormgenerator. If you can even find something like this on the web it my also be something that is not generic enough to just include in your form page.
Yep, I understand that there is no easy solution. :( That's why I was asking.
Currently, I simply modified confirmation file with <?php echo $_REQUEST['field_##'];?> and window.print javascript link. At least it's better than nothing.
Thanks a lot.