nloding Posted December 2, 2008 Share Posted December 2, 2008 I'm looking for any hints or help on storing form definitions into a database. I'm still messing with an issue I first presented in this topic: http://www.phpfreaks.com/forums/index.php/topic,214937.msg981959.html#msg981959 I'm looking at storing the form definition itself into the database -- and I can store it all except the full form. What I mean is, I can store individual items, like a text box, and validators, and actions, and more. But what would the database table/entry look like to define the form itself? Would the database entry be the HTML of the form? That doesn't make sense, because then it's very hard to parse and edit the form. I'm stumped ... and can't find any hints, tutorials, articles, or anything online. I'm actually having a hard time finding any apps that do it, but I know some are out there. Any help is appreciated!!!!!! Link to comment https://forums.phpfreaks.com/topic/135229-store-form-definition-in-database/ Share on other sites More sharing options...
gevans Posted December 2, 2008 Share Posted December 2, 2008 Why do you want the form - <form> <input /> </form> in a database?? I put that code there to make sure I understand you properly, you want an html form stored in a database? Link to comment https://forums.phpfreaks.com/topic/135229-store-form-definition-in-database/#findComment-704358 Share on other sites More sharing options...
nloding Posted December 2, 2008 Author Share Posted December 2, 2008 In a sense, yes that's what I want. I want the ability to create a custom form and save it's definition. Or to take an existing for and add a field with the click of a button. Link to comment https://forums.phpfreaks.com/topic/135229-store-form-definition-in-database/#findComment-704368 Share on other sites More sharing options...
gevans Posted December 2, 2008 Share Posted December 2, 2008 I've never done that before, but you could do it with a rich text editor, though to get a good one might require buying one!! Link to comment https://forums.phpfreaks.com/topic/135229-store-form-definition-in-database/#findComment-704372 Share on other sites More sharing options...
nloding Posted December 2, 2008 Author Share Posted December 2, 2008 Why a rich text editor? That only edits text ... I want the definition to be stored into the database. See my previous post for what keeB was describing -- that's what I'm looking for, almost. I just don't know how to pull it all together into the final form. Link to comment https://forums.phpfreaks.com/topic/135229-store-form-definition-in-database/#findComment-704426 Share on other sites More sharing options...
gevans Posted December 2, 2008 Share Posted December 2, 2008 They don't only edit test. Rich Text Editors can be used to build tables and forms. So you can build and amend bespoke forms taht can be stored in a database as you asked Link to comment https://forums.phpfreaks.com/topic/135229-store-form-definition-in-database/#findComment-704430 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.