Web Forms from Database
-
I am looking for some information on creating a system that will store Form Layouts in a database. I see all kinds of web form creators on the market but I want to try to do it myself so I can customize it to my liking. Does anyone have any links or information on the best way to store the form layout in a database and just have a page get the layout and the submit action from the database and create a web form on the fly. Any help or guidance on this would be appreciated.
-
I am looking for some information on creating a system that will store Form Layouts in a database. I see all kinds of web form creators on the market but I want to try to do it myself so I can customize it to my liking. Does anyone have any links or information on the best way to store the form layout in a database and just have a page get the layout and the submit action from the database and create a web form on the fly. Any help or guidance on this would be appreciated.
That depends upon what you want to save. If you want to save the flexible layout i.e. position and state then you can use WebParts. If you just want to save colours and fonst (look-n-fell) then just use Themes / Skins. and if you want to save all the things then you can use both. :) You can use WebParts.i.e. create a webpart with some property, and asp.net will store all the properties associated with webpart in the sql server database. and it will retrieve and render the webpart according to the user logged in, when you redirect the use to that page. I forgot ASP.Net Personalization and User Profiles[^].
modified on Monday, February 16, 2009 5:24 PM
-
That depends upon what you want to save. If you want to save the flexible layout i.e. position and state then you can use WebParts. If you just want to save colours and fonst (look-n-fell) then just use Themes / Skins. and if you want to save all the things then you can use both. :) You can use WebParts.i.e. create a webpart with some property, and asp.net will store all the properties associated with webpart in the sql server database. and it will retrieve and render the webpart according to the user logged in, when you redirect the use to that page. I forgot ASP.Net Personalization and User Profiles[^].
modified on Monday, February 16, 2009 5:24 PM
What I am looking for is a way to give users the ability to design forms and save that layout to a database. For instance the user could place a textbox on the form, a checkbox, and a TextArea. I am looking for the best way to save that to a database so that when a user comes to a page and the form ID could be passed in the Querystring the form layout that is saved in the database would be displayed. I was thinking something like a Forms table that would have the FormID in it an a table that would have the fields in it with the form ID they belong to and the layout of where they belong on the form and such. I see all kinds of Form Builders on the web with the ability to save that form somewhere. I am sure that is in a database somewhere? I just want users to be able to build forms dynamically and save them to a database so I don't have to keep building the forms for them.
-
That depends upon what you want to save. If you want to save the flexible layout i.e. position and state then you can use WebParts. If you just want to save colours and fonst (look-n-fell) then just use Themes / Skins. and if you want to save all the things then you can use both. :) You can use WebParts.i.e. create a webpart with some property, and asp.net will store all the properties associated with webpart in the sql server database. and it will retrieve and render the webpart according to the user logged in, when you redirect the use to that page. I forgot ASP.Net Personalization and User Profiles[^].
modified on Monday, February 16, 2009 5:24 PM
I was looking around on the web and what I am looking for is something like https://www.formlogix.com/Manager/formCreator.aspx[^] The front end doesn't look so hard. Its the back end that I was really wondering about.
-
What I am looking for is a way to give users the ability to design forms and save that layout to a database. For instance the user could place a textbox on the form, a checkbox, and a TextArea. I am looking for the best way to save that to a database so that when a user comes to a page and the form ID could be passed in the Querystring the form layout that is saved in the database would be displayed. I was thinking something like a Forms table that would have the FormID in it an a table that would have the fields in it with the form ID they belong to and the layout of where they belong on the form and such. I see all kinds of Form Builders on the web with the ability to save that form somewhere. I am sure that is in a database somewhere? I just want users to be able to build forms dynamically and save them to a database so I don't have to keep building the forms for them.
OK. In that case its better to buy some 3rd party tool, because developing such a solution is a long and complex thing. and I have never used such product. so sorry for that... :)