Want to build a form and you don't know how many Textboxes you need for user's input?
No problem: use Dynamic Fields to generate dynamic forms based on data coming from your database
It's true! Action Form 5.0 is here; still in testing but the public release is close. If you want to be one of the first to test its new features don't hesitate to email us and we'll send you a download link for the new version of Action Form.
Let me show you how easy it is to build forms with a dynamic number of fields; it's just a matter of loading the list of fields from a database table and then use the Execute Actions on Entity List action to insert a field for each result from database.
For this easy tutorial we will be using Action Form.
Here's the tutorial that shows you how to:
- load entities from SQL (list of items on which you need to perform actions)
- execute actions on an entities list as per the documentation here
- and last but not least, recursively add fields one by one into your form by using the Dynamic Fields Container which is available in Action Form 5
The implementation is easy: we build an empty Action Form template with a container in which you will later dynamically add fields. Check the video tutorial and make sure you put the best and most flexible form builder module in DNN to a great use.
Don't forget to also try
Sharp CDN as well as it can drastically improve the loading speed of your website as you can see in the
video tutorial here.
DNN SHARP Hosting: Put us to a test and accept our challenge to make your website faster: Get a faster website or win $1,000!