Barcode from data - Britt - Dec 15th, 2014
Im working on a personal project and need to get information from some (not all) of the fields moved into a different order and then take that info and have it converted into a QR Barcode or any other standard barcode). I have downloaded the phpbarcode from sourceforge but adding it to the form is seriously confusing and getting the output from Form Tools is even more of a pain. Any ideas or has someone already made something that will do this?
RE: Barcode from data - alexh - Dec 15th, 2014
Interesting question! So what kind of data do you need to pull from the FormTools database for that to work?
RE: Barcode from data - Britt - Dec 15th, 2014
Simple data that is added to the form such as name, id number, area, etc.
RE: Barcode from data - alexh - Dec 15th, 2014
There are some API functions that can help with this: http://docs.formtools.org/api/?page=functions_displaying_submissions
I have also had success pulling data directly from the MySQL database with php and a MySQL query. Let me know if you are interested in that and I can help you out.
Alex
RE: Barcode from data - Britt - Dec 16th, 2014
Alex, I am interested. I have little or no knowledge of the files that would need to be modified or the methods used to build the system. I will look at the API files and see if there is something there that I can add or change to get the info I need and add the barcode to them. Any other ideas or advice you are willing to pass on, I am more than willing to accept.
RE: Barcode from data - alexh - Dec 16th, 2014
Luckily if you use the API functions you won't need to modify any files, but you will need a bit of PHP knowledge to build the new page that displays the data.
If you get stuck, PM me and I can help out. :-)
RE: Barcode from data - Britt - Dec 16th, 2014
Thanks. Ill be working on it this afternoon. I appreciate it.
RE: Barcode from data - Britt - Dec 17th, 2014
Thought I would let you know I just bypassed the bar code and forwarded the info straight to google with a command line and a link. I couldnt get the phpbarcode to accept it as easily.
RE: Barcode from data - alexh - Dec 18th, 2014
Nice, did you get it working?
|