The following warnings occurred:
Warning [2] Undefined variable $unreadreports - Line: 26 - File: global.php(961) : eval()'d code PHP 8.1.2-1ubuntu2.14 (Linux)
File Line Function
/global.php(961) : eval()'d code 26 errorHandler->error
/global.php 961 eval
/printthread.php 16 require_once



UserSpice
class Generated_Form - Printable Version

+- UserSpice (https://userspice.com/forums)
+-- Forum: Miscellaneous (https://userspice.com/forums/forumdisplay.php?fid=28)
+--- Forum: Modifications and Hackery (https://userspice.com/forums/forumdisplay.php?fid=29)
+--- Thread: class Generated_Form (/showthread.php?tid=644)



class Generated_Form - faguss - 07-14-2017

I've built for myself a form preprocessor. It's suited specifically to what I needed (and rather hacky) so I doubt it will be of much use to you. However, you can view it as an example of what's useful because I assume that you'll be making your own version.

It requires modified DB.php and Validate.php

Download (latest update:07.09.17). Copy files to your UserSpice folder and include the classes in init.php

There are 12 example scripts. Run SQL query from file in the archive to create tables for them.

[Image: ICUHvoO.png]