I am not skilled enough with PHP to understand how to let users fill in a form with a little information that will kick out the results to a PDF file for users to download. Hence...I am turning to experts (thats you). I have read through countless forums and it looks like this would help out a lot of people (hence the high points for it). I think FPDF would be a good tool...but I dont know if it will allow me to create a PDF proposal and just update the fields with the form information.
This is what I need:
The below form illistrates the basic idea: users fill in how many of Item1, Item2, etc, and those quantities are multiplied against variable costs that we set (i.e. $1.95) and the total is produced in the total field...then all of this is populated in a predesigned PDF format proposal. So...this is how it would look on the back end:
(Item1 x $9.95) + (Item2 x $4.95) + (Item3 x $1.95) + (Item4 x $3.95) + (Item5 x $9.95) + (Item6 x $8.95) = total
I would like to be able to add fields later and put them into that formula too.
Here is the basic form layout:
<form id="form1" name="form1" method="post" action="">
<table width="400" border="0" cellspacing="0" cellpadding="5">
<tr>
<td width="200" align="right">Number of Item #1 </td>
<td><input name="item1" type="text" size="10" /></td>
</tr>
<tr>
<td width="200" align="right">Number of Item #2</td>
<td><input name="item2" type="text" size="10" /></td>
</tr>
<tr>
<td width="200" align="right">Number of Item #3</td>
<td><input name="item3" type="text" size="10" /></td>
</tr>
<tr>
<td width="200" align="right">Number of Item #4</td>
<td><input name="item4" type="text" size="10" /></td>
</tr>
<tr>
<td width="200" align="right">Number of Item #5</td>
<td><input name="item5" type="text" size="10" /></td>
</tr>
<tr>
<td width="200" align="right">Number of Item #6 </td>
<td><input name="item6" type="text" size="10" /></td>
</tr>
<tr>
<td width="200" align="right">Total cost </td>
<td><input name="total" type="text" size="10" /></td>
</tr>
</table>
</form>
Thanks again for the help. You all rock. If it turns out good...maybe I can put a note in the code thanking you so other see it too!
Start Free Trial