Forum Moderators: coopster
I'm in sales & have a need to be able to quickly generate forms to be signed, then emailed/faxed.
I have my own virtual dedicated server & have done enough web development to be almost dangerous...enough to use css to optimize all of this for iphone at least.
I would like to be able to login to my own web page that has each 1 of my products listed w/checkboxes (maybe share this page w/coworkers, but not public). I can check off only the products that have been sold...as I do, the necessary text fields needed to complete each form for those products appear on the page. A lot of the data is redundant & used on every page of my contracts (i.e., company name, address, etc), so the "company name" field, etc would only need to appear/be filled out ONE TIME. After all of the fields have been completed, I need to be able to populate existing forms that have been created by my company with this data...convert to pdf. From there, I'm fine and I can 'print' to Windows Journal on my tabletPC and have my client sign w/stylus and done...or using a signature app, have them sign the document on my iphone and done.
Anyone?
yes this could be done.
first step would eb to create the form with checkboxes to represent each product. If you wanted to do it all on one page you could use ajax I would think to load the data, otherwise you could submit the selections then load a second form that showed inputs for all neede data, then easily generate a pdf at the end.
what part of any of this were you haveing trouble with in particular?
The trouble I am having is what each process/application is called exactly...knowing that I cannot be the 1st person that ever tried something like this, or any part of it, I am more than capable of reaching out to google for answers/solutions/example code, etc...just that I cannot seem to get the proper keywords for the search...
The frustration lies in knowing that what I want to do is not horribly difficult...just google some examples close enough to what I need, modify accordingly and progress forward...has always worked for me in the past...only this time, for the life of me, cannot seem to get to the search results/examples I need.
Any help/advise on keywords, links, code, etc would be greatly appreciated. (if it makes a difference, I will certainly post final code here, of course)
for each checkbox you will need to present different things in the next step. I am assuming a form will do for the next step
you could look for 'php form handling' or 'php form processing' i guess, that would get you looking at $_POST and how to see what was selected and then do some processing based on that
then display all the inputs you need, the basic html is no big thing, it would be just a bunch of if/else to see what was selected
that data would then be submitted and some "php pdf generator" would be used to create the actual pdf
some places to start
our own php library [webmasterworld.com] - there are a bunch of threads in there about form handling and the like
this learning php [webmasterworld.com] thread has some links
from php.net
[php.net...]
I have dug up enough examples to come up with this so far:
What I am faced with now is the redundant textfields (i.e., company name, address, phone)...If I sell Service 3 only, I would need name/address/phone to display....but if I sell Service 1,2 and 3, I would only need name/address/phone to display ONCE...any suggestions?
Past that, I still have to get the data from here into existing paper forms that are developed by someone else in .doc format and that are updated/changed regularly...guessing that I will convert those to pdf and work from there...but thrilled with my progress so far!
Thanks to you, I have gotten farther in 1 afternoon than I have in several weeks....Thank you again!
[edited by: jatar_k at 1:49 pm (utc) on Sep. 16, 2009]
[edit reason] no urls thanks [/edit]