|
Posted by Jerry Stuckle on 05/20/06 00:21
Luke wrote:
> Jerry,
>
> We use a fancy HTML/form editor and the output forms have zoom in/out
> button! That's a heavy javascript stuff but it works fine! There is
> also a "print" button, which switches the form to another view. Of
> course it can be hacked, even by a nurse!
>
> Moreover, we are able to convert our forms to PDF format and this is
> what we use for printing (much better than PDF, especially when dealing
> with "disabled" HTML elements). But those PDF can not be used for
> submitting data.
>
> As I said we have a solution for printing, we just need a good support
> for editing.
>
> Regards,
> Luke
>
OK, but there are still problems - like if javascript it turned off. Just to
let you know - other than a PDF you'll never be able to say it exactly what it
will look like on my browser.
Back to your original question - how to avoid 1000
<?php "value=$value" ?>
Have all your info in an array in PHP and use a loop to generate the HTML, i.e.
foreach ($mydata as $value) {
echo "<INPUT name=data[] value=%value>";
}
Of course, you'll have other things in there also - table tags or whatever.
When they submit the form, the result will be in $_POST['data'] (assuming your
posting the form), which will be an array of 1000 values.
--
==================
Remove the "x" from my email address
Jerry Stuckle
JDS Computer Training Corp.
jstucklex@attglobal.net
==================
[Back to original message]
|